开发者

why does my FB.ui dialog request cause a pop-up blocker?

开发者 https://www.devze.com 2023-03-10 01:37 出处:网络
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开发者_如

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
0

精彩评论

暂无评论...
验证码 换一张
取 消