views:

447

answers:

5

I have a twitter share button and a facebook share button in my blog page. The twitter counter always shows, but the facebook one only shows when you post something, and then goes away when the page is refreshed and does not show up again until something is posted. I want it to show all the time as to adhere to design cohesiveness.

           <div id="share_stuff">
                <div class="share_buttons">
                    <a name="fb_share" type="box_count" href="http://www.facebook.com/sharer.php"&gt;Share&lt;/a&gt;&lt;script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>
                </div>
                <div class="share_buttons">
                    <script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"&gt;&lt;/script&gt;
                </div>
            </div>
A: 

are you using facebook markup? http://wiki.developers.facebook.com/index.php/FBML Anyways, i can't see all the code, but have you tried:

$(document).ready(function(){
    $("#share_buttons").show()
}

This is in jQuery, not sure it helps but you can try :D

PirosB3
A: 

From what i can tell the official facebook share works in the way you have described above by design. If you use http://www.fbshare.me instead it will show you the count on page load etc.

Tommy
A: 

Still it did not show counter. any solution ?

uttam
+1  A: 

The page needs to be shared at least 3 times before the counter appears.

More information can be found here:

http://wiki.developers.facebook.com/index.php/Talk:Facebook_Share#Counter_only_displays_on_interaction

postrational
A: 

Try this http://addthis.com

Kasturi