0

我使用图形 API 获取用户的朋友列表,直到昨天它工作正常。现在我在尝试获取朋友列表时收到以下错误:

{
   "error": {
      "message": "An active access token must be used to query information about the current user.",
      "type": "OAuthException",
      "code": 2500
   }
}

不过accessToken没有过期。api有什么变化还是我做错了什么,导致这个错误?

4

1 回答 1

0

好的,Graph API 允许您轻松访问public有关对象的所有信息,但是要获取除此之外的其他信息,您必须首先获得用户的许可。为此,您需要先获取access token

https://developers.facebook.com/docs/concepts/login/access-tokens-and-types/

于 2012-12-13T07:23:49.633 回答