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?
A:
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.
poke
2009-11-21 18:01:46
+2
A:
Why not set the ID in a cookie (session or otherwise) and then just retrieve it? I mean, that's what cookies are for...
Samir Talwar
2009-11-21 18:08:37
Thats the right solution but not really applicable to my application because it is written mostly in javascript.
ngreenwood6
2009-11-21 21:36:47
You can set cookies in JavaScript too: http://www.quirksmode.org/js/cookies.html
Samir Talwar
2009-11-22 14:26:29