Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
使用 Twitter API,我想获取对我的应用程序 (OAuth) 进行身份验证的用户上传的所有图像。我一直在挖掘 API 文档,但找不到简单的方法。
我是否应该列出所有推文,遍历它们,获取每条推文并查看它是否具有媒体实体?来吧?
Twitter API 中没有特定的媒体获取端点,所以是的,您需要按照这些方式做一些事情。
statuses/user_timeline.json
?tweet_mode=extended
extended_entities