Tracking multiple hashtags using twitter stream API

Viewed 3528

When I access (w/ proper credentials):

https://stream.twitter.com/1/statuses/filter.json?lang=en&track=#help'

I get what I want: an unending stream of tweets with the #help hashtag.

However,

https://stream.twitter.com/1/statuses/filter.json?lang=en&track=#help,#perl

yields the error

Illegal character in fragment at index 70: https://stream.twitter.com/1/statuses/filter.json?lang=en&track=#help,#perl

which appears to be the '#' in '#perl'. How to fix?

For reference, this works fine:

https://stream.twitter.com/1/statuses/filter.json?lang=en&track=perl,#help

while this does not:

https://stream.twitter.com/1/statuses/filter.json?lang=en&track=perl,#help,#ruby

Is there a rule re not tracking more than one hashtag, or am I doing something more fundamentally wrong? Should I track '#hashtag' by just tracking 'hashtag'?

1 Answers
Related