Facebook publishActivity: No error, but no activity published

Posted by carlo.capocasa on Stack Overflow See other posts from Stack Overflow or by carlo.capocasa
Published on 2010-04-12T09:05:03Z Indexed on 2010/04/12 9:23 UTC
Read the original article Hit count: 539

Filed under:
|
|
|

Hi,

implementing publishActivity in PHP using the REST API using this code:

$activity = array(
    'message' => '{*actor*} did something.',
    'action_link' => array(
        'text' => 'Play Travians',
        'href' => WEBROOT
    )
);
$activity = $facebook->api_client->dashboard_publishActivity($activity);

I get a 15-digit number returned and no errors, however no activity appears in the logged in account or friends of this account.

Help appreciated.

Carlo

© Stack Overflow or respective owner

Related posts about facebook

Related posts about restful