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

New Post: Storing token info in external xml file?

$
0
0
Hi there,

If you download the source code, you will find a project called Examplinvi.
Examplinvi is giving an example showing how to store twitter credentials in the project configuration file.
 IToken token = new Token(
                ConfigurationManager.AppSettings["token_AccessToken"],
                ConfigurationManager.AppSettings["token_AccessTokenSecret"],
                ConfigurationManager.AppSettings["token_ConsumerKey"],
                ConfigurationManager.AppSettings["token_ConsumerSecret"]);
Having a 400 exception probably means that the credentials you provided were incorrectly loaded.
Would you please verify that your Token contains the expected information.

Regards,
Linvi

Viewing all articles
Browse latest Browse all 4126

Trending Articles



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