I’m currently using Twitter4J to grab the timeline from a single user:
AsyncTwitterFactory factory = new AsyncTwitterFactory(cb.build());
AsyncTwitter asyncTwitter = factory.getInstance();
asyncTwitter.addListener(new TwitterAdapter() {
@Override
public void gotUserTimeline(ResponseList<Status> statuses) {
for (Status status : statuses) {
Log.d("twitter", "twitter: " + status.getText() + status.getUser().getName());
}
super.gotUserTimeline(statuses);
}
@Override
public void onException(TwitterException te, TwitterMethod method) {
te.printStackTrace();
super.onException(te, method);
}
});
asyncTwitter.getUserTimeline("twitterusernamehere");
What I need to do is grab the timelines from several users at once. I could run the previous call several times for different users, but that seems like bad practice and im hoping theres another way. I’m currently using Twitter4J, but am open to switching to the Fabric kit or something else if its easier to do it with that.