I noticed that when looking up a specific tweet in the API, it is not returning any identifiable information regarding a video being included. The source of the tweet seems to be from the “Twitter Ads Composer”, and the response comes back with no entity objects or any URLs even when including the included_entities=true or tweet_mode=extended params.
URL: https://api.twitter.com/1.1/statuses/show/1006737006552993792.json?tweet_mode=extended
Truncated response:
{
"created_at": "Wed Jun 13 03:16:21 +0000 2018",
"id": 1006737006552993792,
"id_str": "1006737006552993792",
"full_text": "Microsoft and our LGBTQ+ employees are proud to lift up those who push for equity and inclusion.",
"truncated": false,
"display_text_range": [
0,
96
],
"entities": {
"hashtags": [],
"symbols": [],
"user_mentions": [],
"urls": []
},
"source": "\u003ca href=\"https:\/\/ads-api.twitter.com\" rel=\"nofollow\"\u003eTwitter Ads Composer\u003c\/a\u003e",
"in_reply_to_status_id": null,
"in_reply_to_status_id_str": null,
"in_reply_to_user_id": null,
"in_reply_to_user_id_str": null,
"in_reply_to_screen_name": null,
"user": {
...
It looks like it’s expected behavior to not include any entity objects, but I found these two posts that both suggest there should still be a URL returned:
I also found a post mentioning the use of include_card_uri which also does not work:
As far as I can tell, the docs do not mention anything regarding the expected behavior of requesting tweets created from Twitter Ads Composer.