Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get multiple users timeline efficiently using twitter4j?

Tags:

java

twitter4j

I want to get time line data for 2 users. Currently I am calling getUserTimeline("username",paging) method for both the users and combining the data. 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? Please help.

like image 937
gusaindpk Avatar asked Jul 21 '26 21:07

gusaindpk


1 Answers

As far as I know Twitter APIs does not allow to query for multiple users' timelines.

I guess you already did it, but you should double check that I am not wrong by looking at the official Twitter APIs documentation.

like image 121
mariosangiorgio Avatar answered Jul 23 '26 11:07

mariosangiorgio



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!