How to verify Facebook access token?

后端 未结 6 1883
囚心锁ツ
囚心锁ツ 2020-11-28 03:26

There\'s only thing that server has to do; just check any access token\'s validity.

Clients send to the server user id and access token obtained by FB.getLogin

6条回答
  •  臣服心动
    2020-11-28 04:00

    Simply request (HTTP GET):

    https://graph.facebook.com/USER_ID/access_token=xxxxxxxxxxxxxxxxx
    

    That's it.

提交回复
热议问题