How can I check if facebook account exists by typing email?
For example, if i go to http://mysite.pl/fb/?email=email@gmail.com and if account with this email exists on facebook, it returns "true", if not, returns "false".
Code I tried:
if(isset($_GET["email"])) {
$url = file_get_contents('https://www.facebook.com/search/results/?q='.$_GET["email"]);
echo '<pre>'.$url.'</pre>';
}
It's not working, returns info that my browser is not supported by facebook.