I think the problem is missing quotes and URL encoding. Try curl … -d "track=harry+potter"

 – Matt Sanford / @mzsanford
     Twitter Dev

On Jul 14, 2009, at 7:29 AM, owkaye wrote:

How do I track a phrase like "harry potter"?

The docs only show how to track individual words, not
phrases ... and this curl command doesn't work properly
because it finds tweets with "harry" and not "potter":

curl -o /home/ken/twitterStreamJSON.txt
http://stream.twitter.com/track.json -u username:password -d
track=harry potter,


Reply via email to