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

New Post: TwitterCredentials doesn't exist in context

$
0
0
Hi,

Yes i am doing the same with my keys like:

public void Authenticate()
{
TwitterCredentials.SetCredentials(
    "My_Access_Token", 
    "My_Access_Token_Secret", 
    "My_API_Key", 
    "My_API_Secret");

authenticated = true;
}

Tried in main class as well as global.asax file.

Code is throwing error on fisrt line itself for "TwitterCredentials"

Please help.

Thanks
Kuldeep Kadyan

Viewing all articles
Browse latest Browse all 4126

Trending Articles



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