Mercurial > altnet-hispano
diff Agendas/trunk/src/Agendas.Twitter/oAuthTwitter.cs @ 110:a456eb519e23
Lanzando twitts desde el sitio con la cuenta de AltNetHispanoDESA
author | Nelo@Kenia.neluz.int |
---|---|
date | Wed, 08 Jun 2011 07:33:14 -0300 |
parents | 1ee5711256db |
children | 90ce239cfa6d |
line wrap: on
line diff
--- a/Agendas/trunk/src/Agendas.Twitter/oAuthTwitter.cs Tue Jun 07 23:21:07 2011 -0300 +++ b/Agendas/trunk/src/Agendas.Twitter/oAuthTwitter.cs Wed Jun 08 07:33:14 2011 -0300 @@ -8,12 +8,12 @@ { private string ConsumerKey { - get { return ConfigurationManager.AppSettings["consumerKey"]; } + get { return ConfigurationManager.AppSettings["consumerKeyAppSignIn"]; } } private string ConsumerSecret { - get { return ConfigurationManager.AppSettings["consumerSecret"]; } + get { return ConfigurationManager.AppSettings["consumerSecretAppSignIn"]; } } public Uri AuthorizationLinkGet(string callbackAddress) @@ -30,6 +30,7 @@ public string AccessTokenGet(string requestToken, string verifier) { OAuthTokenResponse accessToken = OAuthUtility.GetAccessToken(ConsumerKey, ConsumerSecret, requestToken, verifier); + if (accessToken!=null) { var tokens = new OAuthTokens