问题
I am trying 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?
回答1:
You need to have the read_stream
extended permission if you want to see posts other than those with visibility set to 'Public'
来源:https://stackoverflow.com/questions/7634587/reading-facebook-wall-returns-an-empty-array