开发者

twitter api question

开发者 https://www.devze.com 2022-12-12 17:37 出处:网络
Is there a way to pass a variable to twitter when you authorized and have it pass it back? For instance when I send them to the oauth page I want to send them with an id and when they return 开发者_运

Is there a way to pass a variable to twitter when you authorized and have it pass it back? For instance when I send them to the oauth page I want to send them with an id and when they return 开发者_运维问答to my confirm page I want to be able to get that id. Is this possible?


Why not set the ID in a cookie (session or otherwise) and then just retrieve it? I mean, that's what cookies are for...


You mean you want to get a response from Twitter when people authorize your (OAuth) application with their account? That's what the OAuth callback is for, you can set it in your application settings on Twitter.

0

精彩评论

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