How can i send dummy parameters in url to twitter's ouath/authorize endpoint and get them back as it is in the callback


#1

I want to send some dummy parameters to twitter’s oauth/authorize endpoint and get them back as it is in the callback along with oauth_token and oauth_verifier.
For example:
request:
https://api.twitter.com/oauth/authorize?oauth_token=FxHxpekZK8VVfNRr38i2WKJskIZY3Hj7&app_name=myTwitterApp

callback request should be:
http://www.example.com?oauth_token=FxHxpekZK8VVfNRr38i2WKJskIZY3Hj7&oauth_verifier=Vq0yq2LRUBybevnjGvXyUOBPWH9**Ew9DY&app_name=myTwitterApp

Please let me know if this doable in twitter as it is in google and facebook.


#2

Just add the parameters onto the callback_url when you generate the request token.


#3

yeah thats working…thanks a lot for the trick.


#4

Can someone elaborate on how you do this? For example I have no serious starting point when implementing this in NodeJS


#5

Hi @KlingKong_P - could you please clarify what exactly it is that you are trying to do. And what endpoint are you using?