开发者

Facebook Access Token change format

开发者 https://www.devze.com 2023-04-11 08:42 出处:网络
My Facebook application for Android has always returned an access token开发者_如何学JAVA of the type:

My Facebook application for Android has always returned an access token开发者_如何学JAVA of the type:

app_id|session_key|xxxxxxxxxxxxxxxxxxxxx

Unfortunately a few hours ago it returned this token:

AAACwFsGcSr4BAOGUTwfuZAWuUcwZC0rJ7noZCKMqhBI7ivDCsIGqduGIZCus5PRaS6KuREqxLmhfvZAZAkz5WCpFfANtUpYHgZD

It is not even as a signed_request is not of this format:

xxxxxxxxxxxxxxxxx
.
xxxxxxxxxxxxxxxxxxxxxx

has no point

My chat that uses X-FACEBOOK_PLATFORM authentication does not work anymore because I can not find session_key

Can anyone help me?


This is the new encrypted token format. Not knowing how you were using the old token limits what I can tell you as to how to utilize the new token but this might help:

https://developers.facebook.com/docs/authentication/signed_request/


we should not code against the format of the access token. even in the "unencrypted form", Facebook should have never documented its format. It just by "luck" that you own way works. It is not supported.

0

精彩评论

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