Nevermind, everything is good! Thanks again! :)

On 26 Okt., 16:12, "Tobias C. Jensen" <2bia...@gmail.com> wrote:
> It seems, though, that if I change just one of the three parameters in
> the streaming call, the page just continuously loads. I don't know if
> that's normal. Or maybe it just doesn't send the output to the screen.
>
> On 25 Okt., 22:44, Matt Harris <thematthar...@twitter.com> wrote:
>
>
>
> > Hi Tobias,
>
> > First thing to do is make sure you have the most recent version of the
> > library. I'm actively developing it and adding various features/utilities to
> > it.
>
> > Secondly, take a look at the Streaming API example here:
>
> >http://github.com/themattharris/tmhOAuth/blob/master/examples/streami...
>
> > Give the example script a try - the library was built around that example
> > (remember to fill in your consumer and user tokens and secrets). If you
> > still have problems let me know on the Github project page issues:
> >    http://github.com/themattharris/tmhOAuth
>
> > Best,
>
> > @themattharris
> > Developer Advocate, Twitterhttp://twitter.com/themattharris
>
> > On Mon, Oct 25, 2010 at 9:16 AM, Tobias C. Jensen <2bia...@gmail.com> wrote:
>
> > > Hi guys.
>
> > > I've been digging into the Twitter API using Themattharris's excellent
> > > PHP class a lot these past two weeks.
>
> > > Everything has been fine with standard OAuth calls, but now I would
> > > like to make use of the User Stream - which the class appearently
> > > supports. However, nothing is returned when I do try the following:
>
> > > ------------------------------------
>
> > > tmhOAuth->streaming_request('GET', 'http://stream.twitter.com/1/
> > > statuses/sample.json', array(
> > >        'count'      => 10,
> > > ), 'test_callback');
>
> > > function test_callback($p) {
> > >        echo 'Now printing: ';
> > >        print_r($p);
> > >        ob_flush();
> > > }
>
> > > ------------------------------------
>
> > > I get a status code '200', but test_callback is never called. If I do
> > > not set a parameter, I receive an error status, so it seems like it
> > > ought to work.
>
> > > Is there a kind person out there, who can get me on the right path, or
> > > am I completely off track here? :) I've been struggling with this all
> > > day and haven't been able to find a solution anywhere online. I have
> > > found a couple of examples that seem to do exactly what I do, but with
> > > succes.
>
> > > Thanks in advance - and for the many useful answers I have already
> > > found here!
> > > - Tobias
>
> > > --
> > > Twitter developer documentation and resources:http://dev.twitter.com/doc
> > > API updates via Twitter:http://twitter.com/twitterapi
> > > Issues/Enhancements Tracker:
> > >http://code.google.com/p/twitter-api/issues/list
> > > Change your membership to this group:
> > >http://groups.google.com/group/twitter-development-talk

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk

Reply via email to