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

Commented Issue: HashTags are null with Tweet with photo [2548]

$
0
0
Consider the following code:

```
//Tweet 588403629956190209:
//When live gives you lemons... #motivational http://t.co/YvofkvOS8J

var tweet = Tweet.GetTweet(588403629956190209);

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

When I use a photo (might be a link), the HashTags collection remains null. It should have 1 "#motivational". 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>