Its the standard OAuth class provided from the Twitter wiki...
When I dump it, even with var dump or print it begins with :
<?xml version="1.0" encoding="UTF-8"?>
But then right after the </users> tag the data ends. Its very odd and
its driving me nuts.
On Oct 27, 1:40 pm, JDG <ghil...@gmail.com> wrote:
> are you sure they're not returned via the script? did you dump the data you
> received using wireshark or some other network monitoring tool? it could be
> that the $oauth class is simply not parsing it correctly.
> On Tue, Oct 27, 2009 at 11:31, TylerC <tyle...@gmail.com> wrote:
> > I really don't get it now... I am making a call to get all my friends
> > and I am only getting data between the <users></users> tags. I need to
> > get cursors and while they are returned when going through the browser
> > they do not show up when ran from my script. wtf...
> > $users = $oauth->oAuthRequest(
> > "http://twitter.com/statuses/friends.xml?cursor=-1
> > ",
> > array(), "GET"
> > );
> > $xml = simplexml_load_string($users);
> > $next_page = $xml->next_cursor;
> > Its like the only data returned is the user array...
> Internets. Serious business.