Add media and url data of ads cards to Twitter object
Add media and url data of ads cards to Twitter object (incl. from lookup EPs, PowerTrack and Account Activity API) to be able to identify content type and display preview.
Overview of all Twitter Card Tags – https://developer.twitter.com/en/docs/twitter-for-websites/cards/overview/markup
With Twitter Cards, you can attach rich photos, videos and media experiences to Tweets, helping to drive traffic to your website. – https://developer.twitter.com/en/docs/twitter-for-websites/cards/overview/abouts-cards
Associate an ads card with the Tweet using the card_uri value from any ads card response. – https://developer.twitter.com/en/docs/twitter-api/v1/tweets/post-and-engage/api-reference/post-statuses-update
david pratt commented
Yes please! This is breaking my app.
I want to display popular tweets around topics, and some of these - especially sports-related content - often are adverts. It means within my app I can't render the tweet properly as I can't work out if it's a link or a photo or a video. I can only get the text...