Tweet App Card Video does not appear with the video

video-app-download
ads
api
cards

#1

Hi,

I create a Tweet App Card Video using this endpoint POST accounts/:account_id/tweet but the created tweets only contains the text. Is it normal that the video is not visible on the Tweets ?
Note that the card information is correctly found on the creation response.

Here the created Tweet: https://twitter.com/CatanYann/status/955751097221689344
Here is the API call and response I did to create the Tweet:

$ twurl -H ads-api.twitter.com \
-d 'text=test message new ratio video' \
-d 'as_user_id=1605831858' \
-d 'card_uri=card://954000694889144321' \
-d 'nullcast=true' \
"/2/accounts/18ce53up722/tweet"

{"data":{"created_at":"Tue Jan 23 10:36:33 +0000 2018","id":955751097221689344,"id_str":"955751097221689344","text":"test message new ratio video","truncated":false,"entities":{"hashtags":[],"symbols":[],"user_mentions":[],"urls":[]},"source":"\u003ca href=\"http:\/\/www.socialmoov.com\" rel=\"nofollow\"\u003eSocialmoov\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":{"id":1605831858,"id_str":"1605831858","name":"Catan Yann","screen_name":"CatanYann","location":"","url":null,"description":"","protected":false,"followers_count":0,"friends_count":1,"listed_count":0,"created_at":"Fri Jul 19 12:46:24 +0000 2013","favourites_count":0,"utc_offset":7200,"time_zone":"Athens","geo_enabled":true,"verified":false,"statuses_count":15,"lang":"fr","contributors_enabled":false,"is_translator":false,"is_translation_enabled":false,"profile_background_color":"C0DEED","profile_background_image_url":"http:\/\/abs.twimg.com\/images\/themes\/theme1\/bg.png","profile_background_image_url_https":"https:\/\/abs.twimg.com\/images\/themes\/theme1\/bg.png","profile_background_tile":false,"profile_image_url":"http:\/\/pbs.twimg.com\/profile_images\/431065291074727937\/7NisUxqM_normal.png","profile_image_url_https":"https:\/\/pbs.twimg.com\/profile_images\/431065291074727937\/7NisUxqM_normal.png","profile_link_color":"A11E29","profile_sidebar_border_color":"FFFFFF","profile_sidebar_fill_color":"DDEEF6","profile_text_color":"333333","profile_use_background_image":true,"has_extended_profile":false,"default_profile":false,"default_profile_image":false,"following":false,"follow_request_sent":false,"notifications":false,"translator_type":"none"},"geo":null,"coordinates":null,"place":null,"contributors":null,"retweet_count":0,"favorite_count":0,"favorited":false,"retweeted":false,"possibly_sensitive":false,"scopes":{"followers":false},"card":{"name":"appplayer","url":"card:\/\/954000694889144321","card_type_url":"http:\/\/card-type-url-is-deprecated.invalid","binding_values":{"player_url":{"type":"STRING","string_value":"https:\/\/video.twimg.com\/amplify_video\/vmap\/950750703013781505.vmap"},"content_duration_seconds":{"type":"STRING","string_value":"25"},"player_content_id":{"type":"STRING","string_value":"950750703013781505"},"player_owner_id":{"type":"STRING","string_value":"1605831858"},"player_hls_url":{"type":"STRING","string_value":"https:\/\/video.twimg.com\/amplify_video\/950750703013781505\/pl\/_gi_UdbBvzL9kK3G.m3u8"},"cta_key":{"type":"STRING","string_value":"install"},"player_stream_url":{"type":"STRING","string_value":"https:\/\/video.twimg.com\/amplify_video\/vmap\/950750703013781505.vmap"},"title":{"type":"STRING","string_value":"Twitter"},"site":{"type":"USER","user_value":{"id_str":"74594552","path":[]},"scribe_key":"publisher_id"},"player_width":{"type":"STRING","string_value":"16"},"player_height":{"type":"STRING","string_value":"9"},"app_star_rating":{"type":"STRING","string_value":"4.3"},"app_num_ratings":{"type":"STRING","string_value":"10,789,754"},"app_category":{"type":"STRING","string_value":"Actualit\u00e9s et magazines"},"player_image_small":{"type":"IMAGE","image_value":{"url":"https:\/\/pbs.twimg.com\/ad_img\/954000689637806081\/DzSnzC-J?format=jpg&name=orig","width":1687,"height":953,"alt":null}},"player_image":{"type":"IMAGE","image_value":{"url":"https:\/\/pbs.twimg.com\/ad_img\/954000689637806081\/DzSnzC-J?format=jpg&name=orig","width":1687,"height":953,"alt":null}},"player_image_large":{"type":"IMAGE","image_value":{"url":"https:\/\/pbs.twimg.com\/ad_img\/954000689637806081\/DzSnzC-J?format=jpg&name=orig","width":1687,"height":953,"alt":null}},"player_image_x_large":{"type":"IMAGE","image_value":{"url":"https:\/\/pbs.twimg.com\/ad_img\/954000689637806081\/DzSnzC-J?format=jpg&name=orig","width":1687,"height":953,"alt":null}},"player_image_color":{"type":"IMAGE_COLOR","image_color_value":{"palette":[{"percentage":86.68,"rgb":{"red":36,"green":31,"blue":28}},{"percentage":6.07,"rgb":{"red":58,"green":61,"blue":73}},{"percentage":3.91,"rgb":{"red":95,"green":112,"blue":130}},{"percentage":2.26,"rgb":{"red":118,"green":85,"blue":55}},{"percentage":0.39,"rgb":{"red":44,"green":17,"blue":18}}]}},"app_icon_small":{"type":"IMAGE","image_value":{"url":"https:\/\/pbs.twimg.com\/card_img\/954332059455045632\/YQfNObqF?format=png&name=100x100","width":100,"height":100,"alt":null}},"app_icon":{"type":"IMAGE","image_value":{"url":"https:\/\/pbs.twimg.com\/card_img\/954332059455045632\/YQfNObqF?format=png&name=144x144","width":144,"height":144,"alt":null}},"app_icon_large":{"type":"IMAGE","image_value":{"url":"https:\/\/pbs.twimg.com\/card_img\/954332059455045632\/YQfNObqF?format=png&name=800x320_1","width":300,"height":300,"alt":null}},"app_icon_x_large":{"type":"IMAGE","image_value":{"url":"https:\/\/pbs.twimg.com\/card_img\/954332059455045632\/YQfNObqF?format=png&name=2048x2048_2_exp","width":300,"height":300,"alt":null}},"app_icon_color":{"type":"IMAGE_COLOR","image_color_value":{"palette":[{"percentage":61.27,"rgb":{"red":29,"green":161,"blue":242}},{"percentage":17.57,"rgb":{"red":255,"green":255,"blue":255}},{"percentage":0.45,"rgb":{"red":133,"green":205,"blue":248}}]}},"card_url":{"type":"STRING","string_value":"https:\/\/twitter.com","scribe_key":"card_url"}},"users":{"74594552":{"id":74594552,"id_str":"74594552","name":"App Store","screen_name":"AppStore","location":"Cupertino, CA","url":"http:\/\/appstore.com","description":"","protected":false,"followers_count":4704935,"friends_count":21,"listed_count":24883,"created_at":"Tue Sep 15 23:47:10 +0000 2009","favourites_count":22,"utc_offset":-28800,"time_zone":"Pacific Time (US & Canada)","geo_enabled":false,"verified":true,"statuses_count":7691,"lang":"en","contributors_enabled":false,"is_translator":false,"is_translation_enabled":false,"profile_background_color":"F0F0F0","profile_background_image_url":"http:\/\/abs.twimg.com\/images\/themes\/theme1\/bg.png","profile_background_image_url_https":"https:\/\/abs.twimg.com\/images\/themes\/theme1\/bg.png","profile_background_tile":false,"profile_image_url":"http:\/\/pbs.twimg.com\/profile_images\/941404148188061696\/w25-myxT_normal.jpg","profile_image_url_https":"https:\/\/pbs.twimg.com\/profile_images\/941404148188061696\/w25-myxT_normal.jpg","profile_banner_url":"https:\/\/pbs.twimg.com\/profile_banners\/74594552\/1513404209","profile_link_color":"0088CC","profile_sidebar_border_color":"C7C7C7","profile_sidebar_fill_color":"E0E0E0","profile_text_color":"333333","profile_use_background_image":false,"has_extended_profile":false,"default_profile":false,"default_profile_image":false,"following":false,"follow_request_sent":false,"notifications":false,"translator_type":"none"}},"card_platform":{"platform":{"device":{"name":"AdsApi","version":"13"},"audience":{"name":"production","bucket":null}}}},"lang":"en"},"request":{"params":{"as_user_id":1605831858,"text":"test message new ratio video","account_id":"18ce53up722","nullcast":true,"card_uri":"card:\/\/954000694889144321"}}}

Thanks for your help.


#2

Thanks for the question, @CatanYann. If you’re viewing the Tweet through your desktop browser, you won’t see the card. App cards only render on mobile devices. Hope that helps clarify.