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

New Post: GetUsersFromNames Value cannot be null issue

$
0
0
I was planning on exposing the user id field from the user info provided in the tweet but I just noticed that the IUser interface creates an IUserDTO object whos class inherits from IUserIdentifier which has the as user ID field within so I should already be able to get the user ID string is that correct?

Any example on how I can get at that field from a tweet object? Would it be something like this
stream.TweetReceived += (sender, args) =>
 {
     var tweet = args.Tweet;
Console.WriteLine("{0} from user {1} was detected ", tweet.Id, tweet.creator.id);
 };

Viewing all articles
Browse latest Browse all 4126

Trending Articles