2016-01-23 120 views

回答

0

无需特别许可,只需user_friends,总是可以授予。见here

我从来没有使用过PHP SDK,但如果你通过GET请求加载(如复制到浏览器的地址栏中这一点)这将返回您的朋友列表:

https://graph.facebook.com/me/friends?access_token={access_token} 

因此,也许这可以在PHP中工作(只是猜测):

$response = $fb->get('/me/friends', '{access-token}'); 
相关问题