开发者

Offline Access. Verifying Access Token?

开发者 https://www.devze.com 2023-01-05 04:59 出处:网络
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

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

精彩评论

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