开发者

unable to post status to facebook

require_once 'facebook.php';  

$facebook = new Facebook($appapikey, $appsecret);  

if($facebook->api_client->users_hasAppPermission("status_update"))
    $f开发者_C百科acebook->api_client->users_setStatus("Hi there");

I am unable to post status to facebook, the above says nothing :(

I already gave status update permission to my app. help please..


Current functionu is "Users_hasAppPermission"

"U" must be capital in both functions

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜