views:

288

answers:

1

Hello Everybody

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/javascript' src='http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php/en_US'&gt;&lt;/script&gt;

<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'&gt;&lt;/fb:fan&gt;

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 !!!

+2  A: 

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'&gt;&lt;/script&gt;

<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'&gt;&lt;/fb:fan&gt;

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

Neurofluxation
Hello friendThank you for ReplayI removed un-necessary space,but it won't work<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>web newly used above code still won't workplease provide any other solution!!Hope-for best co-operation from your side
Vaibhav Bhalke
I have added a new section to my answer.
Neurofluxation
Both page_id </script><fb:fan profile_id="113106068709539" stream="0" connections="10" logobar="0" width="250" height="300"></fb:fan>
Vaibhav Bhalke
:) Hope for Best co-operation from your side Sir :).
Vaibhav Bhalke
I'm afraid I am stumped - hopefully someone else can help you - apologies my good man.
Neurofluxation
Hello Neurofluxation :)Can you suggest any person? who solve my problem :(?
Vaibhav Bhalke