Hello Ive Created a new App on facebook to get all my IDs and token and implentend my code Im trying to find all people with “Andre†but i dont get any results back Is there a way to find People throught the API without the ID or the whole name? to make it easier for you to help me function callFb($url) { $ch = curl_init(); curl_setopt_array($ch, array( CURLOPT_URL => $url, CURLOPT_RETURNTRANSFER => true )); $result = curl_exec($ch); curl_close($ch); return $result; } $url = “https://graph.facebook.com/oauth/access_token?client_id=myClientId&redirect_uri=myurl.php&client_secret=thisstaysaSecret; $access_token = callFb($url); $access_token = substr($access_token, strpos($access_token, “=â€)+1, strlen($access_token)); $url = “https://graph.facebook.com/search?access_token=$access_token&q=Andre&type=userâ€; $ret_json = callFb($url); $users = json_decode($ret_json, true); echoâ€$users[id]“; ?> PHP: Any Ideas whats wrong?
there is some issue sometimes with facebook, they only return result some time..i will give an example of one i did similar soon i need to find where it is.. its been a long time. tomorrow i will post