/** * @package Check if user exist in twitter * @copyright Eduardo Hernandez Arenas (eduardorha@gmail.com) * @version 1.0 **/ ini_set('display_errors','Off'); $account = $_GET['user']; set_time_limit(0); /*GET CONTENT BY FACEBOOK GRAPH*/ $search = json_decode(file_get_contents("https://graph.facebook.com/{$account}")); if($search->id) { echo "yes"; } else { echo "no"; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)