I think you could request "/ me" in the context of the application, and not for the user. The documentation is not as clear as it could, but I had the same problem.
Can you use FB.getLoginStatus ?
After installing FB.init, I make a call to FB.getLoginStatus, similar to the one below. Perhaps the best way to do this, but it works for me.
Hope this helps:
FB.getLoginStatus(function (response) { if (response.session) { // logged in and connected user, someone you know graphUrl = "https://graph.facebook.com/me?access_token=" + response.session.access_token + "&callback=displayUser" var script = document.createElement("script"); script.src = graphUrl; document.body.appendChild(script); } else { // no user session available, someone you dont know }}); function displayUser(user) { alert(user.name); }
source share