hi,thank you very much.
1、I get tweet_id by promoted_tweet_id ,like this:
twurl -H ads-api.twitter.com ‘/3/accounts/**********/promoted_tweets?promoted_tweet_ids=*****’ | python -m json.tool
then it return the tweet_id is ‘AAAAAA’
then i did this:
twurl -H api.twitter.com ‘/1.1/statuses/show.json?id=AAAAAA&include_card_uri=true’ | python -m json.tool
it return like this:
{
"contributors": null,
"coordinates": null,
"created_at": "Thu Jul 12 12:09:52 +0000 2018",
"entities": {
"hashtags": [],
"symbols": [],
"urls": [
{
"display_url": "cards.twitter.com/cards/18ce54md\u2026",
"expanded_url": "https://cards.twitter.com/cards/18ce54md5fm/5yeq9",
"indices": [
39,
62
],
"url": "https://t.co/jvRkgboSXX"
}
],
"user_mentions": []
},
"favorite_count": 0,
"favorited": false,
"geo": null,
"id": 1017380518151708672,
"id_str": "1017380518151708672",
"in_reply_to_screen_name": null,
"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,
"is_quote_status": false,
"lang": "ar",
"place": null,
"possibly_sensitive": false,
"possibly_sensitive_appealable": false,
"retweet_count": 0,
"retweeted": false,
"scopes": {
"followers": false
},
"source": "<a href=\"http://www.jollychic.com\" rel=\"nofollow\">JollyChic</a>",
"text": "\ud83c\udf38 \u062a\u062e\u0641\u064a\u0636\u0627\u062a \u0627\u0644\u0635\u064a\u0641 \ud83c\udf38\n\ud83c\udf89 \u062a\u062e\u0641\u064a\u0636\u0627\u062a \u062d\u062a\u0649 70% \ud83c\udf89 https://t.co/jvRkgboSXX",
"truncated": false,
"user": {
"contributors_enabled": false,
"created_at": "Tue Jan 31 09:37:55 +0000 2017",
"default_profile": true,
"default_profile_image": false,
"description": "\u062d\u0645\u0651\u0644\u064a \u0627\u0644\u062a\u0637\u0628\u064a\u0642 \u0648\u062a\u0633\u0648\u0642\u064a \u0643\u0644 \u0645\u0627 \u0647\u0648 \u062c\u062f\u064a\u062f \u0641\u064a \u0639\u0627\u0644\u0645 \u0627\u0644\u0623\u0646\u0627\u0642\u0629 \u0648\u0627\u0644\u0645\u0648\u0636\u0629\ud83d\udcb0\u0627\u0644\u062f\u0641\u0639 \u0639\u0646\u062f \u0627\u0644\u0627\u0633\u062a\u0644\u0627\u0645 \ud83c\uddf8\ud83c\udde6\u0627\u0644\u062a\u0648\u0635\u064a\u0644 \u0644\u0643\u0644 \u0627\u0644\u0645\u0645\u0644\u0643\u0629",
"entities": {
"description": {
"urls": []
},
"url": {
"urls": [
{
"display_url": "m.onelink.me/6d83f877",
"expanded_url": "http://m.onelink.me/6d83f877",
"indices": [
0,
23
],
"url": "https://t.co/ZGYDCJCcTb"
}
]
}
},
"favourites_count": 352,
"follow_request_sent": false,
"followers_count": 90366,
"following": false,
"friends_count": 1,
"geo_enabled": true,
"has_extended_profile": false,
"id": 826363876140843008,
"id_str": "826363876140843008",
"is_translation_enabled": false,
"is_translator": false,
"lang": "en",
"listed_count": 72,
"location": "\u0627\u0644\u0645\u0645\u0644\u0643\u0629 \u0627\u0644\u0639\u0631\u0628\u064a\u0629 \u0627\u0644\u0633\u0639\u0648\u062f\u064a\u0629",
"name": "\u062c\u0648\u0644\u064a \u0634\u064a\u0643 \u0627\u0644\u0633\u0639\u0648\u062f\u064a\u0629",
"notifications": false,
"profile_background_color": "F5F8FA",
"profile_background_image_url": null,
"profile_background_image_url_https": null,
"profile_background_tile": false,
"profile_banner_url": "https://pbs.twimg.com/profile_banners/826363876140843008/1529659015",
"profile_image_url": "http://pbs.twimg.com/profile_images/1010089213797322753/DRs3iLz8_normal.jpg",
"profile_image_url_https": "https://pbs.twimg.com/profile_images/1010089213797322753/DRs3iLz8_normal.jpg",
"profile_link_color": "1DA1F2",
"profile_sidebar_border_color": "C0DEED",
"profile_sidebar_fill_color": "DDEEF6",
"profile_text_color": "333333",
"profile_use_background_image": true,
"protected": false,
"screen_name": "JollyChic_KSA",
"statuses_count": 22320,
"time_zone": null,
"translator_type": "none",
"url": "https://t.co/ZGYDCJCcTb",
"utc_offset": null,
"verified": true
}
}
it return no card_uri param. Why is it ? Where I wrong?