I am trying to figure if I can authenticate users with Twitter OAuth in one simple ajax call. I need to use javascript because I am building the application on iOS with Phonegap. Here is the api used for Facebook to directly retrieve the access_token for that user once they sign in and authorize app.
What would be the Twitter equivalent of this API call if there is one?
https://www.facebook.com/dialog/oauth?
client_id=YOUR_APP_ID
&redirect_uri=YOUR_REDIRECT_URI
&scope=COMMA_SEPARATED_LIST_OF_PERMISSION_NAMES
&response_type=token
I have already tried applying the 3 legged authentication, to no avail of course. I prefer not using the pin authorization method.
Any help would be appreciated, thank you so much everyone!