开发者

unable to post status to facebook

开发者 https://www.devze.com 2022-12-14 21:50 出处:网络
require_once \'facebook.php\'; $facebook = new Facebook($appapikey, $appsecret); if($facebook->api_client->users_hasAppPermission(\"status_update\"))
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

精彩评论

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