In this simple example, when the code runs I don't get a nice "lightbox" dialog, I get a pop-up blocker warning in both IE and chrome. But I've seen sites that get it to work as a lightbox开发者_如何学运维. Any idea why?
I see the issue. In that example the author assumed you are already authenticated. You must do this first:
https://www.facebook.com/dialog/oauth?client_id=YOUR_APP_ID&redirect_uri=YOUR_URL&response_type=token
精彩评论