I have a problem regarding OAuth. I need to be able to post on behalf of the user from a desktop application.
For facebook this is done quite simple (I registered my app, got an client id and user an html dialog in mfc to navigate to a link that will ask the user for his credentials: https://graph.facebook.com/oauth/aut...nt_id=11201518
... . After the user enters his credentials, I am redirected to a fake facebook page that has the access_token in it's argument list(GET method). After reading the token I am free to make api calls on behalf of the user)
Now, on twitter I thought i was a little bit more complex until I found this article:
It says here that the same as for facebook is possible for desktop application that manipulate only on account at a time.
The problem is that when I access this url (https://api.twitter.com/oauth/authen...29-FLFtpRe0vWG
..) from the browser to test it, id doesn't ask for user credentials, instead it shows this :
This page is no longer valid. It looks like someone already used the token information you provided. Please return to the site that sent you to this page and try again … it was probably an honest mistake."
I wowld have expected to be redirected to the callback url that I set up for my app and get an access_token to use for api calls after the user allows access to my app, but this is not the case.
This link explains what i am trying to achieve in more detail