Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Follow commas #11

Closed
remyguercio opened this issue Jul 10, 2012 · 2 comments
Closed

Follow commas #11

remyguercio opened this issue Jul 10, 2012 · 2 comments

Comments

@remyguercio
Copy link

How do you get the comma separated list for following people to work? The commas seem to get escaped and twitter does not recognize the individual user ids. Also, I see you use GET for the streaming api would it not be better to use POST as 5000 follow ids could become a problem in the URL.

https://dev.twitter.com/docs/api/1/post/statuses/filter

@remyguercio
Copy link
Author

Something like this.

var stream = T.stream('statuses/filter', { follow: '1,2,3,4,5,6,7,8' })

stream.on('tweet', function (tweet) {
  console.log(tweet);
});

@remyguercio
Copy link
Author

Sorry about that. It is working now with escaped values. I still think using POST would be better though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant