Hi!
We use GET tweets endpoint (v11) to retrieve all tweets by their ids. Endpoint returns everything correctly except for one tweet with id:1570877476779315200. Twitter API returns no card_uri associated with it. However, there should be a card for it.
We send: https://ads-api.twitter.com/11/accounts/18ce55339ma/tweets?tweet_type=PUBLISHED&timeline_type=ALL&tweet_ids=1570877476779315200
The response we get:
{
"request": {
"params": {
"tweet_ids": [
"1570877476779315200"
],
"tweet_type": "PUBLISHED",
"timeline_type": "ALL",
"account_id": "18ce55339ma"
}
},
"next_cursor": null,
"data": [
{
"coordinates": null,
"retweeted": false,
"name": "sbk_nfl_nooffer_retailcampaign-meadowlands_",
"conversation_settings": "EVERYONE",
"source": "<a href=\"https://twitter.com\" rel=\"nofollow\">Twitter for Advertisers</a>",
"entities": {
"user_mentions": [],
"urls": [],
"symbols": [],
"media": [
{
"expanded_url": "https://twitter.com/FDSportsbook/status/1570877476779315200/photo/1",
"indices": [
182,
205
],
"url": "https://t.co/L9HEKFnvkR",
"media_url": "http://pbs.twimg.com/media/FczglFyWYAEopbJ.jpg",
"features": {
"small": {
"faces": []
},
"medium": {
"faces": []
},
"large": {
"faces": []
},
"orig": {
"faces": []
}
},
"id_str": "1570877297858600961",
"id": 1570877297858600961,
"media_url_https": "https://pbs.twimg.com/media/FczglFyWYAEopbJ.jpg",
"sizes": {
"small": {
"w": 680,
"h": 680,
"resize": "fit"
},
"thumb": {
"w": 150,
"h": 150,
"resize": "crop"
},
"medium": {
"w": 800,
"h": 800,
"resize": "fit"
},
"large": {
"w": 800,
"h": 800,
"resize": "fit"
}
},
"type": "photo",
"display_url": "pic.twitter.com/L9HEKFnvkR",
"original_info": {
"width": 800,
"height": 800,
"focus_rects": [
{
"x": 0,
"y": 0,
"h": 448,
"w": 800
},
{
"x": 0,
"y": 0,
"h": 800,
"w": 800
},
{
"x": 0,
"y": 0,
"h": 800,
"w": 702
},
{
"x": 140,
"y": 0,
"h": 800,
"w": 400
},
{
"x": 0,
"y": 0,
"h": 800,
"w": 800
}
]
}
}
],
"hashtags": []
},
"display_text_range": [
0,
181
],
"favorite_count": 3,
"in_reply_to_status_id_str": null,
"geo": null,
"id_str": "1570877476779315200",
"scopes": {
"followers": false
},
"in_reply_to_user_id": null,
"truncated": false,
"retweet_count": 0,
"scheduled_status": null,
"id": 1570877476779315200,
"in_reply_to_status_id": null,
"possibly_sensitive": false,
"nullcast": true,
"created_at": "Fri Sep 16 20:49:10 +0000 2022",
"place": null,
"scheduled_at": null,
"tweet_type": "PUBLISHED",
"favorited": false,
"full_text": "Make every moment more this football season and take advantage of our FREE shuttle bus. Place ANY $30+ Parlay bet at Fanduel Sportsbook at Meadowlands Racing and get a 20% free bet! https://t.co/L9HEKFnvkR",
"lang": "en",
"contributors": [
3697976837
],
"in_reply_to_screen_name": null,
"in_reply_to_user_id_str": null,
"user": {
"utc_offset": null,
"name": "FanDuel Sportsbook",
"friends_count": 1089,
"screen_name": "FDSportsbook",
"location": null,
"protected": false,
"url": "http://bit.ly/FD-Sportsbook",
"profile_image_url": "http://pbs.twimg.com/profile_images/1562073489154211840/v5CTaFj1_normal.jpg",
"profile_background_color": "000000",
"profile_use_background_image": false,
"is_translator": false,
"geo_enabled": false,
"description": "America's #1 Sportsbook! 21+ and Present in AZ/CO/CT/IA/IL/IN/KS/LA/MI/NJ/NY/PA/TN/VA/WV/WY. Need help?: @FanDuel_Support Gambling Problem? Visit https://t.co/5xElVVARkW",
"profile_link_color": "3B94D9",
"id_str": "2160790669",
"listed_count": 1192,
"default_profile_image": false,
"followers_count": 225016,
"profile_image_url_https": "https://pbs.twimg.com/profile_images/1562073489154211840/v5CTaFj1_normal.jpg",
"profile_sidebar_border_color": "000000",
"profile_background_image_url": "http://abs.twimg.com/images/themes/theme1/bg.png",
"favourites_count": 34569,
"following": null,
"default_profile": false,
"withheld_in_countries": [],
"id": 2160790669,
"profile_background_tile": false,
"contributors_enabled": false,
"follow_request_sent": null,
"created_at": "Mon Oct 28 12:14:33 +0000 2013",
"profile_sidebar_fill_color": "000000",
"translator_type": "none",
"lang": null,
"profile_text_color": "000000",
"notifications": null,
"verified": true,
"time_zone": null,
"profile_banner_url": "https://pbs.twimg.com/profile_banners/2160790669/1661139345",
"statuses_count": 54063,
"profile_background_image_url_https": "https://abs.twimg.com/images/themes/theme1/bg.png",
"is_translation_enabled": false
},
"tweet_id": "1570877476779315200",
"extended_entities": {
"media": [
{
"expanded_url": "https://twitter.com/FDSportsbook/status/1570877476779315200/photo/1",
"indices": [
182,
205
],
"url": "https://t.co/L9HEKFnvkR",
"media_url": "http://pbs.twimg.com/media/FczglFyWYAEopbJ.jpg",
"features": {
"small": {
"faces": []
},
"medium": {
"faces": []
},
"large": {
"faces": []
},
"orig": {
"faces": []
}
},
"id_str": "1570877297858600961",
"id": 1570877297858600961,
"media_key": "3_1570877297858600961",
"media_url_https": "https://pbs.twimg.com/media/FczglFyWYAEopbJ.jpg",
"sizes": {
"small": {
"w": 680,
"h": 680,
"resize": "fit"
},
"thumb": {
"w": 150,
"h": 150,
"resize": "crop"
},
"medium": {
"w": 800,
"h": 800,
"resize": "fit"
},
"large": {
"w": 800,
"h": 800,
"resize": "fit"
}
},
"type": "photo",
"display_url": "pic.twitter.com/L9HEKFnvkR",
"original_info": {
"width": 800,
"height": 800,
"focus_rects": [
{
"x": 0,
"y": 0,
"h": 448,
"w": 800
},
{
"x": 0,
"y": 0,
"h": 800,
"w": 800
},
{
"x": 0,
"y": 0,
"h": 800,
"w": 702
},
{
"x": 140,
"y": 0,
"h": 800,
"w": 400
},
{
"x": 0,
"y": 0,
"h": 800,
"w": 800
}
]
}
}
]
}
}
]
}
The response does not contain card_uri field. However, there should be a card associated with the tweet. See screenshot from Twitter itself:
This is the tweet: https://twitter.com/FDSportsbook/status/1570877476779315200
For all other tweets everything works fine, but for this particular tweet we don’t get card_uri. Could you please help us here?
Thank you!