开发者

Offline Access. Verifying Access Token?

I have offline access to post on a users wall, but before I post, is it possible to check if I actually have permission i.e. by verifying the access token or by using another soluti开发者_如何学编程on?

Sometimes I am getting "Error processing Access Token" which makes me think the user has removed the application or denied access to post on their wall.


Yes, though not with the new Graph API.

You'll need to use the users.hasAppPermission method of the old REST API to verify whether the user has granted you an extended permission.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜