How can I get a counter for the facebook share button to show all the time?

I have a twitter share button and a facebook share button on my blog page. The twitter counter always shows, but facebook only shows when you publish something, and then leaves when the page refreshes and does not appear again until something is published. I want him to show all the time in order to adhere to the conjuncture of design.

           <div id="share_stuff">
                <div class="share_buttons">
                    <a name="fb_share" type="box_count" href="http://www.facebook.com/sharer.php">Share</a><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"></script>
                </div>
            </div>
+3
source share
5 answers

Before the counter appears, the page must be opened at least 3 times.

More detailed information can be found here:

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

+1

, , facebook , . http://www.fbshare.me, ..

0

- css :

<style>
  .fb_share_no_count {
    display: block !important;
  }
</style>
<div>
  <a name="fb_share" type="box_count" expr:share_url="data:post.url" href="http://www.facebook.com/sharer.php">Share</a><script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>
</div>
0

Source: https://habr.com/ru/post/1728661/


All Articles