开发者

Facebook session key using the old rest api

开发者 https://www.devze.com 2023-01-19 16:51 出处:网络
I know this should be on the facebook developer site but I can\'t seem to register. Anyway I\'m using the new api to obtain a access token when connecting to the xmpp chat server but this access token

I know this should be on the facebook developer site but I can't seem to register. Anyway I'm using the new api to obtain a access token when connecting to the xmpp chat server but this access token doesn't work; I have to use the old rest api's 'session_key' but I can't seem to find a way to get it. Could someone h开发者_运维知识库elp me?

I currently use the android facebook sdk but that doesn't have the session key; it only returns an authentication token which doesn't work with my xmpp client.


The second component of the access token is your session_key

For example if your access-token is

***************|a681464febcefb8********-*********|***************

Then the middle one is your session_key i.e;

a681464febcefb8********-*********
0

精彩评论

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