Creating an event-invite using the Old Rest Api

Posted by Sven Koluem on Stack Overflow See other posts from Stack Overflow or by Sven Koluem
Published on 2011-01-16T23:14:47Z Indexed on 2011/01/17 0:53 UTC
Read the original article Hit count: 269

Filed under:
|
|

Hi, because there is no way doing it with the GraphApi, i try to do it with the old REST Api, but without any success.. no error msg. but also no invite.

$restApi = $facebook->api(array(
            'method'  => 'events.invite',
        'eid' => $eid,
            'uids' => $testuserId,
        'personal_message' => 'testing',
            'access_token' => $accesstoken,
    ));
    print '<pre>' . print_r($restApi, true) . '</pre>';

Or maybe some of you, knowing a better way..

thx sven

© Stack Overflow or respective owner

Related posts about facebook

Related posts about api