are you really just opening stream.twitter.org? Normally you would want to open http://stream.twitter.org/path/to/url.xml...
Joseph Cheek jos...@cheek.com, www.cheek.com twitter: http://twitter.com/cheekdotcom John Kalucki wrote: > You can set both the track and follow parameters when using the /1/ > statuses/filter URL. > > Best practices around changing your predicate: > http://apiwiki.twitter.com/Streaming-API-Documentation#UpdatingFilterPredicates > > I can't answer PHP questions, sorry. > > -John Kalucki > http://twitter.com/jkalucki > Services, Twitter Inc. > > > On Aug 31, 12:32 pm, Polymatheus <world.mo...@gmail.com> wrote: > >> I've used the code above to start streaming and then dumping the >> output to a text file every hour to process later. There are a few >> things I want to clarify, >> >> 1) How can the above script be amended to show both follow and track? >> Is this possible? >> 2) If I opened a stream to follow 10 users and then a further 5 users >> joined my site, would I have to close the first stream then open a new >> stream for the 15 follows? Or just a second stream with the additional >> 5 users? The second approach reduce the chance of tweets being lost >> between closing and opening a new stream. >> 3) I can't seem to close a stream that I opened using the sample code >> above, I have tried changing the file to simply say: >> >> $fp = fsockopen("stream.twitter.com", 80, $errno, $errstr, 10); >> fclose($fp); >> >> But it doesn't appear to work :/ >> >> Thanks in advance >> >>