问题描述
我一直在查看twitter api调用,并且打算使用
https://api.twitter.com/1.1/statuses/user_timeline.json?screen_name=" + TwitterProfile
只是想知道如果要检索哪个端点 tweet创建日期,tweet和媒体(如果tweet中有图像)
通过screenName吗?
以上内容似乎并不包含tweet媒体,它仅包含on和tweet上创建的tweet。
这是api的正确版本吗?
解决方法
如果添加tweet_mode=extended
,您还应该获得媒体信息-听起来这是扩展的140字符以上的Tweet,默认情况下会被截断。