scoped_timeline: Missing "media" property in entities


#1

Tweets retrieved via the scoped_timeline endpoint contain much less data in their “entities” property compared to Tweets received from the “regular” REST API.

Example:

“entities” property of a Tweet fetched via either:

"entities": { "hashtags": [ { "indices": [ 34, 40 ], "text": "bears" } ], "media": [ { "display_url": "pic.twitter.com/1fhWyvr83M", "expanded_url": "http://twitter.com/lego_plane/status/669714058828869632/photo/1", "id": 669714057457348609, "id_str": "669714057457348609", "indices": [ 41, 64 ], "media_url": "http://pbs.twimg.com/tweet_video_thumb/CUtNYw_UsAEq9GR.png", "media_url_https": "https://pbs.twimg.com/tweet_video_thumb/CUtNYw_UsAEq9GR.png", "sizes": { "large": { "h": 269, "resize": "fit", "w": 499 }, "medium": { "h": 269, "resize": "fit", "w": 499 }, "small": { "h": 182, "resize": "fit", "w": 340 }, "thumb": { "h": 150, "resize": "crop", "w": 150 } }, "type": "photo", "url": "https://t.co/1fhWyvr83M" } ], "symbols": [], "urls": [], "user_mentions": [] },

Same property as retrieved via https://dev.twitter.com/ads/reference/get/accounts/%3Aaccount_id/scoped_timeline :

"entities": { "hashtags": [ { "indices": [ 34, 40 ], "text": "bears" } ], "symbols": [], "urls": [ { "display_url": "pic.twitter.com/1fhWyvr83M", "expanded_url": "http://twitter.com/lego_plane/status/669714058828869632/photo/1", "indices": [ 41, 64 ], "url": "https://t.co/1fhWyvr83M" } ], "user_mentions": [] },

This is from Tweet https://twitter.com/lego_plane/status/669714058828869632