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

Commented Issue: UserMentions are null with Tweet with photo [2549]

$
0
0
Consider the following code:

```
//Tweet 499237584485486593:
//@SwiftKey you guys make the best keyboard! Rocks both my devices.
//I think Taylor should consider changing her name http://t.co/NCRN37b4oj

var tweet = Tweet.GetTweet(499237584485486593);

if (tweet.UserMentions == null || tweet.UserMentions.Count != 1)
{
throw new Exception("We have a problem. UserMentions are not okay.");
}
```

When I use a photo (might be a link), the UserMention collection remains null. It should have 1: "@SwiftKey". I've encountered this behavior also when I'm reading the tweet from a timeline.

Using release 0.9.6.0.
Comments: Associated with changeset 43254: Version 0.9.7.0
- Improved Entities to Aggregate the information of Extended Entities and Legacy Entites
- Updated Examplinvi and Program with namespaces and references

Viewing all articles
Browse latest Browse all 4126

Trending Articles



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