简体   繁体   中英

Twitterizer Follow Users with Stream

I'm currrently using the Twitterizer Framework to track many keywords (the limit is 400 from the Twitter API). Therefore, i try to follow some users (their timelines) but I get the Error "NotAcceptable".

Example Code A(this works):

StreamOptions options = new StreamOptions();
options.Track.Add("keyword 1");
options.Track.Add("keyword 2");
...

Example Code B(this works):

StreamOptions options = new StreamOptions();
options.Follow.Add("ID1");
options.Follow.Add("ID2");
...

Here I get the Error "NotAcceptable". What I'm doing wrong?

Thanks!

this will be because of the type of stream you are starting. Right after the code you posted, you should have code to start your stream:

stream.StartPublicStream(...);

My guess is you actually have StartUserStream in error ...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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