This project has moved and is read-only. For the latest updates, please go here.

Problems Authenticating

Nov 7, 2014 at 5:07 AM
Edited Nov 7, 2014 at 5:08 AM
I am running the sample Linq2TwitterDemos_WebForms project and am getting an exception after clicking the "Authorize Button":
Failed to validate oauth signature and token - Please visit the LINQ to Twitter FAQ (at the HelpLink) for help on resolving this error.
I read the documentation and have populated the consumerKey and consumerSecret values in the website web.config file. I currently don't need to login on the user's behalf, so I haven't populated the accessToken or accessTokenSecret fields.

Is my authorization failing because I haven't populated the oauthToken or oauthTokenSecret keys? The documentation doesn't mention these and I can't find them in my Twitter development account?

Nov 7, 2014 at 6:56 AM

The 401 Unauthorized can sometimes be difficult to work through. The good news is that it isn't as hard once you've done it a few times. I have a FAQ there, where the first question is about the 401:

LINQ to Twitter FAQ

There's a long list of issues that I, and others, have encountered over the years. I hope it helps you.

Marked as answer by JoeMayo on 11/16/2014 at 9:11 PM