Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/facebook/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Facebook API授权(桌面应用程序)_Facebook_Facebook Graph Api - Fatal编程技术网

Facebook API授权(桌面应用程序)

Facebook API授权(桌面应用程序),facebook,facebook-graph-api,Facebook,Facebook Graph Api,我正在编写一个小型桌面应用程序,提供对用户facebook帐户的访问。为了检查这些东西是如何工作的,我使用了GraphAPI浏览器。当我尝试获取朋友列表时,一切都按照预期进行,当我尝试获取朋友列表时,Graph API Explorer说 (#604) Can't lookup all friends of <id_here>. Can only lookup for the logged in user or the logged in user's friends that ar

我正在编写一个小型桌面应用程序,提供对用户facebook帐户的访问。为了检查这些东西是如何工作的,我使用了GraphAPI浏览器。当我尝试获取朋友列表时,一切都按照预期进行,当我尝试获取朋友列表时,Graph API Explorer说

(#604) Can't lookup all friends of <id_here>. Can only lookup for the logged in user or the logged in user's friends that are users of your app.

提前感谢。

否,因为消息说您只能查找授权您的应用程序的人的朋友。

错误,出现了另一个问题:我使用
获取访问令牌
按钮在Graph API Explorer中创建访问令牌。现在,我想创建一个新的(具有不同的权限),但不知道如何才能做到这一点。再次按下此按钮只会打开一个窗口,在该窗口中选择并禁用旧令牌的权限复选框,以便我可以将其关闭。您需要选择您想要的其他权限。如果我想关闭以前的权限(实际上是其中的一些权限),请向
/me/permissions?permission=
-
https://graph.facebook.com/<Peter's_id>/friends?access_token=<generated_token>