Facebook Access Token [Javascript SDK]

青春壹個敷衍的年華 提交于 2019-12-02 12:07:21

Can I trust he access token(response.authResponse.accessToken) for identify the user?

Of-course yes!

Can Facebook change the access token ?

Nope. But it expires after 2 hours, so you have to get the token again. If you want to use this token in future; you can extend the life of the token to 60 days.

You can read more about access tokens here.


[Edit]

The token also becomes invalidated in the following cases-

  • User changes the password
  • User de-authorizes the app
  • User removes the app
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!