开发者

Twitter's access tokens are not opaque

开发者 https://www.devze.com 2022-12-11 00:39 出处:网络
Referring to this old april 2009 thread at twitter-dev; I am开发者_开发问答 currently extracting the twitterid from the access token. The thread says that twitter will soon move to provide the twitter

Referring to this old april 2009 thread at twitter-dev; I am开发者_开发问答 currently extracting the twitterid from the access token. The thread says that twitter will soon move to provide the twitterid & screenname to the callback url directly but as of today, that is still not the case. Are you still extracting the twitterid from the access token ? Is there another more future-proof way to get the twitterid/screenname given that you have the access token ?


Once you have access token, why not call verify credentials method which would give you the user's detailed information?

0

精彩评论

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