开发者

Facebook publishActivity: No error, but no activity published

开发者 https://www.devze.com 2022-12-26 05:57 出处:网络
implementing publishActivity in PHP using the REST API using this co开发者_如何转开发de: $activity = array(

implementing publishActivity in PHP using the REST API using this co开发者_如何转开发de:

$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


I think you're looking for a Feed post.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号