[twitter-dev] Re: stream.twitter.com/1/statuses/filter
I see, so it's not really a key/value pair then, it's the uri-encoded expression as a whole? On Aug 11, 9:47 pm, Matt Harris thematthar...@twitter.com wrote: Hey, To follow users you need to POST the user IDs you want to follow as a comma separated list. For example to follow @themattharris you would POST follow=777925 If you're still having problems let us see the API request you are making and we'll see what's up. Matt On Wed, Aug 11, 2010 at 8:26 PM, kme km.ens...@gmail.com wrote: I am trying to use the streaming API to return result sets of for specific users. For some reason, no user is being located by the id specified. Is there something not documented with these calls? http://dev.twitter.com/pages/streaming_api_methods#follow any info someone has is greatly appreciated! -- Matt Harris Developer Advocate, Twitterhttp://twitter.com/themattharris
Re: [twitter-dev] Re: stream.twitter.com/1/statuses/filter
HTTP requests use key=value pairs in the URL strings and post bodies yes. In this case the key is follow and the value is 777925. For multiple accounts the value would be 777925,123456. Using curl this would be sent like this (I use -X POST here because I like being verbose with my calls): curl -u username http://stream.twitter.com/1/statuses/filter.json -d follow=777925,123456 -X POST Hope that helps, Matt On Thu, Aug 12, 2010 at 1:04 PM, kme km.ens...@gmail.com wrote: I see, so it's not really a key/value pair then, it's the uri-encoded expression as a whole? On Aug 11, 9:47 pm, Matt Harris thematthar...@twitter.com wrote: Hey, To follow users you need to POST the user IDs you want to follow as a comma separated list. For example to follow @themattharris you would POST follow=777925 If you're still having problems let us see the API request you are making and we'll see what's up. Matt On Wed, Aug 11, 2010 at 8:26 PM, kme km.ens...@gmail.com wrote: I am trying to use the streaming API to return result sets of for specific users. For some reason, no user is being located by the id specified. Is there something not documented with these calls? http://dev.twitter.com/pages/streaming_api_methods#follow any info someone has is greatly appreciated! -- Matt Harris Developer Advocate, Twitterhttp://twitter.com/themattharris -- Matt Harris Developer Advocate, Twitter http://twitter.com/themattharris
Re: [twitter-dev] Re: stream.twitter.com/1/statuses/filter
HTTP requests use key=value pairs in the URL strings and post bodies yes. In this case the key is follow and the value is 777925. For multiple accounts the value would be 777925,123456. What is this, CompuServe? -- personal: http://www.cameronkaiser.com/ -- Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com -- We're Starfleet officers ... weird is just part of the job. -- ST: Voyager - No one's going to get that joke, are they?