Closed edsu closed 7 years ago
Unfortunately I didn't catch this tweet in the filter stream I had running. So I don't know how the media metadata would've appeared in it. But the sketchy docs and a bit of experimenting makes me believe that this info would have appeared in the extended_entities
stanza of a streamed tweet.
Agree with this, and also would like to see an option for using json2csv.py
with json files created using extended mode.
This was fixed in the v1.2.0 release that is now out on PyPI.
It appears that fetching tweets from the status/lookup and search/tweets endpoints without using the tweet_mode=extended option means that important media entities are not included in results.
Consider this tweet that contains an embedded video. When fetched with the default
tweet_mode=compat
the entities looks like this:But when fetched with
tweet_mode=extended
explicitly set it looks like:tweet_mode=extended
also results in a very usefulextended_entities
stanza that looks like: