Is it possible to embed a Tweet / Twitter Card natively in an iOS App?


#1

Is it possible to embed a Tweet / Twitter Card (https://dev.twitter.com/docs/cards/types/summary-card) natively in an iOS App? All I could find was an API that delivers the data:

https://api.twitter.com/1.1/statuses/show.json?id=210462857140252672

See https://dev.twitter.com/docs/api/1.1/get/statuses/show/%3Aid

Then I would be able to construct my own UIView representing a Twitter Card, but isn´t there something ‘official’ to display Twitter Cards in a more native way than HTML in apps? I would be very happy to have like a UIView that accepts data from the above JSON API and displays a native Twitter Card.

Cheers, Marc


#2

Hi Marc, we currently do not have an official way to embed tweets or cards in an iOS app natively. You will need to create your own UIView and follow the display requirements to render the content. https://dev.twitter.com/terms/display-requirements