Twitter API 获取任何用户的所有推文 [英] Twitter API getting any user's all tweets

查看:54
本文介绍了Twitter API 获取任何用户的所有推文的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚开始搜索 twitter API,为了争取时间,我想问一下并希望了解这一点.Twitter API 的哪种方法可以为我提供某个日期期间某人的所有推文.(我将设置该用户和日期时间段.并使用 PHP)

I am newly started searching the twitter API and to gain time I would like to ask and hope to learn about that. Which method of Twitter API can give me someone's all tweets between a date period. (I will set that user and date period. And using PHP)

推荐答案

无.

Twitter API 有局限性,这是完全可以理解的,因为数据库中的推文数量和此类查询可能产生的负载.

Twitter API has limitations and this is quite understandable because of the number of tweets in the database and the load that could be created by such queries.

您可以使用 user_timeline 但是,如果最近 3,200 次更新就足够了.

You may use user_timeline however, if last 3,200 updates will suffice.

编辑:我根据 Jessycat 的回答更正了我的回答(原为:32,000 条推文,改为 3,200 条推文).

EDIT: I have corrected my answer following Jessycat's answer (was: 32,000 tweets, changed to 3,200 tweets).

这篇关于Twitter API 获取任何用户的所有推文的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆