开发者

load xfbml content without the connect login button

开发者 https://www.devze.com 2022-12-19 18:28 出处:网络
i have an iframe php application. i want to use xfbml on my page. the problem is i am only able to initialize and use xfbml when i use the connect login button

i have an iframe php application. i want to use xfbml on my page. the problem is i am only able to initialize and use xfbml when i use the connect login button the regular FB.init is not working... please help.

<fb:login-button>Login button</fb:login-button>
<script src="http://static.ak.facebook开发者_开发百科.com/js/api_lib/v0.4/FeatureLoader.js.php" type="text/javascript"></script>
<script type="text/javascript">  

FB.init("e5ff43db9aa3533917e18106796e536f", "http://www.amit-verma.com/roadies/xd_receiver.php"); 
FB.ensureInit(function() { 
    FB.Connect.showPermissionDialog("email"); 
    });



/*
FB_RequireFeatures(["XFBML"], function(){ 
    FB.Facebook.init("e5ff43db9aa3533917e18106796e536f", "http://www.amit-verma.com/roadies/xd_receiver.php");

// }); */


if anybody else is having the same problem, configure your Base Domain URL. that'll do the trick.

0

精彩评论

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