简体   繁体   English

如何使用twitter4j有效地获得多个用户的时间表?

[英]How to get multiple users timeline efficiently using twitter4j?

I want to get time line data for 2 users. 我想获得2个用户的时间线数据。 Currently I am calling getUserTimeline("username",paging) method for both the users and combining the data. 目前我正在为getUserTimeline("username",paging)调用getUserTimeline("username",paging)方法并组合数据。 Is there any optimal way of doing it, for example, using one twitter api call or is this the only way it can be done? 有没有最佳的方法,例如,使用一个twitter api调用,或者这是唯一的方法吗? Please help. 请帮忙。

As far as I know Twitter APIs does not allow to query for multiple users' timelines. 据我所知,Twitter API不允许查询多个用户的时间表。

I guess you already did it, but you should double check that I am not wrong by looking at the official Twitter APIs documentation . 我猜你已经做到了,但你应该通过查看官方Twitter API文档来仔细检查我没有错。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM