Facebook Graph API search with file_get_contents $content = json_decode(file_get_contents(‘https://graph.facebook.com/search?q=xiaokyun&type=post’));