Hey everyone, im trying to figure out why cursors are not being returned... I am making a call to http://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?