I get the error
Warning: file_get_contents(https://graph.facebook.com/me?fields=id,name,picture) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request in /home/schoolda/public_html/fblogin.php on line 36
while trying to retrieve user data from facebook graph API. I’ve successfully authenticated and authorized my app but I don’t know how to retrieve the granted data. Thanks for any suggestion.
You need to include your auth token in your api request.
try: