Hi there,
A sample stream is not something you can use to get the timeline of any user account. It basically retrieve 1% of all the tweets sent on Twitter.
If you want to get all the tweets from specific user accounts, you'll need to use the UserStream.
Concerning your issue, this behaviour is expected. When starting a stream it will retrieve all the tweets from Twitter until you call Stream.StopStream() or an Exception occurs.
You cannot use a stream in your loading, use it when the page is loaded and refresh your page with ajax and polling or websocket.
Also if you want to retrieve the tweets from a specific user timeline, you can use Timeline.GetUserTimeline();
Feel free to ask for more information if you need.
Hope this help.
Linvi
A sample stream is not something you can use to get the timeline of any user account. It basically retrieve 1% of all the tweets sent on Twitter.
If you want to get all the tweets from specific user accounts, you'll need to use the UserStream.
Concerning your issue, this behaviour is expected. When starting a stream it will retrieve all the tweets from Twitter until you call Stream.StopStream() or an Exception occurs.
You cannot use a stream in your loading, use it when the page is loaded and refresh your page with ajax and polling or websocket.
Also if you want to retrieve the tweets from a specific user timeline, you can use Timeline.GetUserTimeline();
Feel free to ask for more information if you need.
Hope this help.
Linvi