Quantcast
Channel: Tweetinvi a friendly Twitter C# library
Viewing all articles
Browse latest Browse all 4126

New Post: Web Request Failed

$
0
0
Hi

The callback URL comes from this code:
var applicationCredentials = CredentialsCreator.GenerateApplicationCredentials(Settings.GetString("TwitterConsumerKey"), Settings.GetString("TwitterConsumerSecret"));
sURL = CredentialsCreator.GetAuthorizationURLForCallback(applicationCredentials, sCMSURL + "Social/Confirm_Auth.aspx?AuthID=" + this.PKValue.ToString());
(and the user is then redirected to the value in 'sURL')

The value in the second step of the process:
var newCredentials = CredentialsCreator.GetCredentialsFromCallbackURL(oContext.Request.Url.AbsoluteUri, applicationCredentials);
"oContext.Request.Url.AbsoluteUri" contains the "oauth_token" and "oauth_verifier" as indicated.

Viewing all articles
Browse latest Browse all 4126

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>