Hi,
I’m having problems to get scoped_timeline for tweets with IMAGE_APP_DOWNLOAD cards.
1. I POST the card with:
$ twurl -X POST -H ads-api.twitter.com "/0/accounts/18ce53vrk7s/cards/image_app_download?name=MyName&app_country_code=US&googleplay_app_id=com.antidotesapp.play&wide_app_image_media_id=745637057628934144"
{"data_type":"card","data":{"name":"MyName","googleplay_app_id":"com.antidotesapp.play","preview_url":"https:\/\/cards.twitter.com\/cards\/18ce53vrk7s\/1vr5f","id":"1vr5f","account_id":"18ce53vrk7s","app_country
_code":"US","wide_app_image":"https:\/\/pbs.twimg.com\/ad_img\/745637057628934144\/oU5LrY0S?format=png&name=orig","created_at":"2016-06-22T15:22:46Z","updated_at":"2016-06-22T15:22:46Z","app_cta":"INSTALL_OPEN",
"deleted":false,"card_type":"IMAGE_APP_DOWNLOAD"},"request":{"params":{"name":"MyName","googleplay_app_id":"com.antidotesapp.play","account_id":"18ce53vrk7s","app_country_code":"US","wide_app_image":"https:\/\/p
bs.twimg.com\/ad_img\/745637057628934144\/oU5LrY0S?format=png&name=orig","card_type":"IMAGE_APP_DOWNLOAD"}}}
2. Then create the “Promoted-Only” tweet:
$ twurl -X POST -H ads-api.twitter.com "/0/accounts/18ce53vrk7s/tweet?status=test%20app%20install%20image%20https:\/\/cards.twitter.com\/cards\/18ce53vrk7s\/1vr5f&as_user_id=233631354"
{"data_type":"status","data":{"created_at":"Wed Jun 22 15:53:03 +0000 2016","id":745645785501564932,"id_str":"745645785501564932","text":"test app install image https:\\\/\\\/cards.twitter.com\\\/cards\\\/18ce53vrk7s\\\/1vr5f","truncated":false,"entities":{"hashtags":[],"symbols":[],"user_mentions":[],"urls":[]},"source":"\u003ca href=\"http:\/\/www.audiense.com\" rel=\"nofollow\"\u003eAudienseCo\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":233631354,"id_str":"233631354","name":"Audiense","screen_name":"AudienseCo","location":"UK ","url":"http:\/\/www.audiense.com","description":"Audiense is a social marketing platform delivering rich & actionable insight to brands and agencies to uncover and connect with the right audience.","protected":false,"followers_count":200532,"friends_count":73644,"listed_count":4689,"created_at":"Mon Jan 03 18:47:47 +0000 2011","favourites_count":3969,"utc_offset":3600,"time_zone":"London","geo_enabled":true,"verified":true,"statuses_count":21702,"lang":"en","contributors_enabled":false,"is_translator":false,"is_translation_enabled":false,"profile_background_color":"C0DEED","profile_background_image_url":"http:\/\/pbs.twimg.com\/profile_background_images\/378800000124772315\/15c08557743c62e9050879457bb2d668.png","profile_background_image_url_https":"https:\/\/pbs.twimg.com\/profile_background_images\/378800000124772315\/15c08557743c62e9050879457bb2d668.png","profile_background_tile":false,"profile_image_url":"http:\/\/pbs.twimg.com\/profile_images\/707948029266022402\/tRDUwyMk_normal.jpg","profile_image_url_https":"https:\/\/pbs.twimg.com\/profile_images\/707948029266022402\/tRDUwyMk_normal.jpg","profile_banner_url":"https:\/\/pbs.twimg.com\/profile_banners\/233631354\/1457622928","profile_link_color":"6DC7DD","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},"geo":null,"coordinates":null,"place":null,"contributors":null,"retweet_count":0,"favorite_count":0,"favorited":false,"retweeted":false,"scopes":{"followers":false},"lang":"en"},"request":{"params":{"status":"test%20app%20install%20image%20https:\\\/\\\/cards.twitter.com\\\/cards\\\/18ce53vrk7s\\\/1vr5f","as_user_id":233631354,"account_id":"18ce53vrk7s"}}}
3. And finally GET scoped timeline with 0 results:
$ twurl -H ads-api.twitter.com "/0/accounts/18ce53vrk7s/scoped_timeline?user_id=233631354&objective=APP_INSTALLS"
{"data_type":"status","data":[],"next_cursor":null,"request":{"params":{"user_id":"233631354","objective":"APP_INSTALLS","account_id":"18ce53vrk7s"}}}
Maybe I’m doing something wrong. Let me know if someone have the same problem.
Thanks.