Image missing from json using statuses/user_timeline for some regular tweets




The image that should be fed for id_str: 778507905406496768 is missing the entities > media, although the image is added.

This is just one example. I couldn’t identify a pattern or reason as to why it sometimes happens.
Could you please investigate.



The clue here is that the Tweet object contains the truncated: true field. Add tweet_mode=extended to your API query to retrieve the full Tweet. This is part of the extended Tweet changes we started to enable this week.

Full information on all of the new API options will be added to the endpoint documentation in the near future, but in the meantime, you can find details on this page. Note that only the attachment_url aspect of the Tweet changes is live at present, reply changes will follow in the future.


Thank you!