401 error

Mar 6, 2015 at 8:14 PM
I get a 401 error when trying to add my twitter app to my account. Any ideas?
case "GetTokenUrl":
                        string url = Tweetinvi.CredentialsCreator.GetAuthorizationURL(appCreds);
                        Console.WriteLine("Auth URL: " + url);
                    case "AddAccount":
                        string callurl = msg.ReadString();
                        Console.WriteLine("Callback URL: " + callurl);
                        var newCredentials = Tweetinvi.CredentialsCreator.GetCredentialsFromVerifierCode(callurl.Trim(), appCreds); <----------------- it fails here
Mar 10, 2015 at 1:24 AM
The verifier code is not a callurl.trim(). The verifier code is something that you on the webpage sent back from GetAuthorizationURL.
The user needs to visit this page.

Have I understood your problem correctly?

Mar 10, 2015 at 11:53 PM
You're correct the callurl.trim() is the verify code that the user put in (the reason it's trimmed is if they copy and pasted the code. After they visited the original URL and got the code after allowing the app. Which is sent over the network.