How can I force a facebook access token to expire?

前端 未结 8 1715
执念已碎
执念已碎 2020-12-23 12:00

I\'m doing some testing in the wake of offline_access\'s expiration. I think that since all interactions my app makes with Facebook are done via my servers and are user ini

8条回答
  •  长情又很酷
    2020-12-23 12:43

    For view permissions

    https://graph.facebook.com/v2.7/{userID}/permissions?access_token={acessToken}
    

    For delete permissions add "method=delete" before &access_token=

    https://graph.facebook.com/v2.7/{userID}/permissions?method=delete&access_token={acessToken}
    

提交回复
热议问题