Nothing.... really?

Is there any way to set the mount / start point of the simpleXML
array?

On Oct 27, 2:28 am, TylerC <tyle...@gmail.com> wrote:
> Hey everyone, im trying to figure out why cursors are not being
> returned... I am making a call 
> tohttp://twitter.com/statuses/friends.xml?cursor=-1
> to get my first page of friends through OAuth and simpleXML in PHP5.
>
> Everything is fine and the next_cursor shows up in my browser, but
> when I try to extract it or even var dump the xml the tag does not
> even show up. Heres how im getting it:
>
>                 $users = $oauth->oAuthRequest(
>                         
> "http://twitter.com/statuses/friends.xml?cursor=$page";,  // Where
> $page is -1 in this case...
>                         array(), "GET"
>                 );
>
>                 $xml = simplexml_load_string($users);
>
>                 print_r($xml);
>
>                 //$next_page = $xml->next_cursor;
>
> I get only data located under the users array, any ideas?

Reply via email to