【发布时间】:2014-06-24 11:50:19
【问题描述】:
是否可以在 iOS 应用程序中原生嵌入 Tweet / Twitter Card (https://dev.twitter.com/docs/cards/types/summary-card)?我只能找到一个提供数据的 API:
https://api.twitter.com/1.1/statuses/show.json?id=210462857140252672
见https://dev.twitter.com/docs/api/1.1/get/statuses/show/%3Aid
然后我就可以构建自己的 UIView 来表示 Twitter 卡片,但是在应用程序中以比 HTML 更原生的方式显示 Twitter 卡片难道不是“官方”的吗?
干杯, 马克
【问题讨论】:
-
不,iOS 中当前对 Twitter 的 API 级别访问不包括卡片对象的呈现。您需要按照您的描述自行滚动。
标签: ios objective-c twitter native