开发者

Reading Facebook wall returns an empty array

开发者 https://www.devze.com 2023-04-09 23:17 出处:网络
I am t开发者_开发技巧rying to read a user\'s wall, not news feeds, with PHP, and I always get an empty array from this:

I am t开发者_开发技巧rying to read a user's wall, not news feeds, with PHP, and I always get an empty array from this:

$api_call = array(
    'access_token'=>$facebook->getAccessToken()
);

try{
    $wall= $facebook->api("$uid/feed/","get",$api_call);
} catch (Exception $e){}

Any idea what is wrong here?


You need to have the read_stream extended permission if you want to see posts other than those with visibility set to 'Public'

0

精彩评论

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