开发者

Twitter API - What to store on app side?

开发者 https://www.devze.com 2023-04-11 13:31 出处:网络
So开发者_运维问答 I want people to be able to login to the site via Twitter. For facebook I store the facebook id and the access token. In twitter from what I gather I need to store the twitter id, ac

So开发者_运维问答 I want people to be able to login to the site via Twitter. For facebook I store the facebook id and the access token. In twitter from what I gather I need to store the twitter id, access token and secret token? Is that correct if I want to do things such as post to a twitter feed? Im using the twitter php sdk


I believe you only need the access token and the secret token (the twitter id is not required).

Actually, now that I think about it, since you are using Twitter for login, the Twitter id would be required too (for login purposes, not posting to Twitter).

See: Twitter API - Making a resource request on a user's behalf

0

精彩评论

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