how to get more than one user's timeline from my followings ?

Dec 8, 2014 at 6:01 PM
how to get more than one user's timeline from my followings ?
with just one query?

thanks
Coordinator
Dec 9, 2014 at 5:00 PM
If you want to get the timeline of multiple followers you will have to make multiple queries.
No way around this, sorry.

Linvi
Dec 9, 2014 at 5:10 PM
or how to use strteam to get same result of GetHomeTimeline
I try to work it out with this:
// Access the filtered stream
var filteredStream = Stream.CreateFilteredStream();
filteredStream.AddTrack("ladygaga");
filteredStream.MatchingTweetReceived += (sender, args) => { Console.WriteLine(args.Tweet.Text); };
filteredStream.StartStreamMatchingAllConditions();
Coordinator
Dec 9, 2014 at 5:25 PM
AddTrack is basically returning all the Tweets that contains the word ladygaga. It does not follow ladygaga.

With a FilteredStream you can follow multiple users:
var ladygaga = User.GetUserFromScreenName("ladygaga");

var filteredStream = Stream.CreateFilteredStream(); 
filteredStream.AddFollow(ladygaga);
Linvi
Dec 9, 2014 at 5:28 PM
so any way to use stream to get the results same as GetHomeTimeline?
any benefit to use stream?
Coordinator
Dec 10, 2014 at 8:27 AM
UserStream PROS vs Timeline:
  • With UserStream you are not rate limited which would be the biggest problem you would encounter if you wanted to get the Timeline of all your followers.
  • With UserStream you update the tweets of your followers in live, you will receive it as soon as they create a new one.
UserStream CONS vs Timeline:
  • Timeline get the tweets already published. This is not the case of the UserStream that will receive only new tweets
Conclusion:

Use both, initialize your follower tweets with the Timeline and then rely on the UserStream to update their tweets.
Be careful with the timeline to not reach the RateLimits.

Linvi