How can I force a facebook access token to expire?

前端 未结 8 1684
执念已碎
执念已碎 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

    Another possible solution is to use a test account with a customized expiration time:

    0 讨论(0)
  • 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}
    
    0 讨论(0)
提交回复
热议问题