开发者

No callback on init with FB Connect Javascript API on Safari

I am using FB.init to connect using FB connect javascript APIs. I have tested the behavior on FF and IE and it works absolutely fine. I get the expected callbacks, but for Safari, the callbacks are not received. Can someone help me with this.

Following is the code I am using to connect:

FB.init("<?php echo $api_key;?>", "xd_receiver.htm",{"ifUserConnected":loadFriends, "ifUserNotConnected": fb_Notlogin});

None of these method开发者_StackOverflow社区s get called after this FB.init method call.


Never mind. My mistake, I added two init calls and in Safari the other one was getting called. Fixed and working.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜