So I got this to work today. My URL is http://localhost:8888
. The domain I gave facebook is localhost. I thought that it was not working because I was trying to pull data using the FB.api
method. I kept on getting an "undefined" name and an image without a source, so definitely didn't have access to the Graph.
Later I realized that my problem was really that I was only passing a first argument of /me
to FB.api
, and I didn't have a token. So you'll need to use the FB.getLoginStatus
function to get a token, which should be added to the /me
argument.