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

New Post: User.GetUserFromId Function In ver. 0.9

$
0
0
Hi,

I am getting null value from User.GetUSerFromId function %90 percent of requests.

var credentials = TwitterCredentials.CreateCredentials(ACCESS_TOKEN, ACCESS_TOKEN_SECRET, consumerKey, consumerSecret);
TwitterCredentials.Credentials = credentials;
long userId = long.Parse(USER_ID);
user = User.GetUserFromId(userId);

How can I solve this issue?

Thanks for answers.

Kind regards.

Viewing all articles
Browse latest Browse all 4126

Trending Articles