Here’s the problem. I created a simple App that allows users to post to their twitter stream. I registered it with Twitter and got the Consumer Key and Secret. I use those from my web application to route users to twitter to grant the application access … https://api.twitter.com/oauth/authorize?oauth_token=[TOKEN]. The page displays the application name and asks them if they want to grant it access. They enter their twitterId and password.
The application then retrieves the User’s Key and Secret from the trackback url. Two problems are occuring:
- The App is not showing in the users Settings/Applications list.
- The App gets a 401 (unauthorized) error when it tries to post a tweet through the user’s account.
It’s as if the user never granted the application authorization. I tried this with several twitter accounts and also reset the applications consumer key and secret.
What is wrong? This was working before.