开发者

Why do Facebook followers not shown in Safari & IE8?

开发者 https://www.devze.com 2023-01-01 17:16 出处:网络
We integrated facebook in our web application [Java GWT]. Facebook page followers shown in Mozila firefox 3.07 and Google :)

We integrated facebook in our web application [Java GWT].

Facebook page followers shown in Mozila firefox 3.07 and Google :) but not shown in Safari and IE8 :(

we used following script in our Java coding to show facebook page followers[Like]:

<script type='text/javascr开发者_如何学编程ipt' src='http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php/en_US'></script>

<script type='text/javascript'> FB.init('MY_APP_ID');</script> <fb:fan profile_id=\"MY_PAGE_ID\" stream=\"0\" connections=\"10\" logobar=\"0\" width=\"244\" height=\"240\" css='http://127.0.0.1/myWebApplicationName/facebook.css?1'></fb:fan>

What's the problem?

What changes will need to fb page followers in all browser?

Is there any solution to Show facebook page followers to All browser?

Thank you in Adavance !!!


You have rogue spaces (may not actually be the problem, but should be sorted anyway).

<script type='text/javascript' src='http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php/en_US'></script>

<script type='text/javascript'>
  FB.init('MY_APP_ID'); 
</script>
<fb:fan profile_id=\"MY_PAGE_ID\" stream=\"0\" connections=\"10\" logobar=\"0\" width=\"244\" height=\"240\" css='http://127.0.0.1/myWebApplicationName/facebook.css?1'></fb:fan>

Also, make sure you have replaced "MY_PAGE_ID" and "MY_APP_ID" with the proper variables.

0

精彩评论

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