Social Media Follower Counter For Blogger

Social Media Follower Counter For Blogger

cara menambahkan widget sosial media di blog

Tutorial Cara Memasang Widget Social Media Follow Counter. Widget sosial media follow counter ini juga pernah saya share di postingan berikut ini... Membuat Widget Social Media Follower Counter.

Tapi pada postingan itu, widgetnya terlalu besar dan social media counternya tidak komplit. Maka di postingan kali ini saya akan menambahkan beberapa social medianya dan tentunya dengan tampilan yang lebih simple, responsive / mobile friendly...

Social Meida / Akun apa aja yang akan di tampilkan oleh widget ini...
  1. dribbble
  2. facebook
  3. instagram
  4. google
  5. youtube
  6. pinterest
  7. soundcloud
  8. vimeo
  9. twitter
  10. behance
  11. vine
  12. vk
  13. foursquare
  14. linkedin

Tapi mungkin kalian juga tidak akan memasang semua social media pada blog kalian, maka saya akan membagi dalam beberapa bagian. Dari yang sederhana, lumayan dan full...

Demo Tampilan Widget Social Media Follower Counter


Nah silahkan di pilih pada menu beriku, kalian pengen pasang yang mana...

Dan jangan lupa untuk mampir ke postingan lain yang sudah mas tamvan share ya :)



Nah bagi kalian yang ingin mamasang widget social media counternya, silahkan ikuti langkah demi langkah pada tutorial dibawah ini...

  • Langkah pertama, kalian harus sudah masuk ke akun blogger kalian
  • Masuk ke menu Template, Edit HTML
  • Selanjutnya kalian cari kode </head>
  • Setelah ketemu, masukan css dibawah ini tepat di atasnya.
  • 
    <style type="text/css">
    #social_media_counter a{color:white;text-decoration:none}
    #social_media_counter .mas{margin-bottom:10px;position:relative;overflow:hidden;border-radius:3px;padding:0;background:black;color:white;display:block}
    #social_media_counter .mas .item{padding:5px}
    #social_media_counter .mas i:before{padding:5px}
    #social_media_counter .mas i:after{content:'';width:1px;height:90%;background-color:rgba(255,255,255,0.37);position:absolute;right:-1px;top:5px}
    #social_media_counter .mas i{display:inline-block;position:relative;width:25px;padding:5px}
    #social_media_counter .mas .count{text-align:left;width:45%;display:inline-block}
    #social_media_counter .mas .col_follow{float:right;padding:5px 12px;background:#ffffff4d;width:76px;text-align:left}
    @media screen and (max-width:300px){
      #social_media_counter .mas .count{width:auto}
    }
    @media screen and (max-width:250px){
      #social_media_counter .mas .count{width:auto;float:right;margin-right:10px}
      #social_media_counter .mas i{width:45%}
      #social_media_counter .mas i:after{top:0;height:100%}
      #social_media_counter .mas .col_follow{width:100%;padding:5px 0;text-align:center}
    }
    #social_media_counter .tamvan_dribbble{background:#ea4c89}
    #social_media_counter .tamvan_facebook{background:#3a5795}
    #social_media_counter .tamvan_instagram{background:#517fa4}
    #social_media_counter .tamvan_google{background:#dd4b39}
    #social_media_counter .tamvan_youtube{background:#b31217}
    #social_media_counter .tamvan_pinterest{background:#cb2027}
    #social_media_counter .tamvan_soundcloud{background:#f50}
    #social_media_counter .tamvan_vimeo{background:#45bbff}
    #social_media_counter .tamvan_twitter{background:#00a5e5}
    #social_media_counter .tamvan_behance{background:#0079ff}
    #social_media_counter .tamvan_vine{background:#00a478}
    #social_media_counter .tamvan_vk{background:#507299}
    #social_media_counter .tamvan_foursquare{background:#2d5be3}
    #social_media_counter .tamvan_linkedin{background:#0077b5}
    </style>
    
  • Save Template.
  • Nah sekarang kalian tinggal Memasukan Kode HTML dan Javascriptnya.
  • Kalian masuk ke menu tataletak, Tambahkan Widget, Cari HTML / JavaScript.
  • Setelah Ketemu, Buka Html / Javascript lalu Copy Salah Satu Kode Dibawh Ini Dan Pastekan Ke Kotak Yang Sudah Di Sediakan.

Pilihan Widget Social Media Counter

  • Widget Social Media Counter Simple | #Back To Menu

  • Terdiri Dari : Social Media facebook, twitter, google, youtube
    
    <div id="social_media_counter">
      <div class="mas tamvan_facebook">
        <i class="fa fa-facebook"></i>
        <a class="item facebook"><span class="count"></span><span class="col_follow">Likes</span></a>
      </div>
      <div class="mas tamvan_twitter">
        <i class="fa fa-twitter"></i>
        <a class="item twitter"><span class="count"></span><span class="col_follow">Followers</span></a>
      </div>
      <div class="mas tamvan_google">
        <i class="fa fa-google-plus"></i>
        <a class="item google"><span class="count"></span><span class="col_follow">Followers</span></a>
      </div>
      <div class="mas tamvan_youtube">
        <i class="fa fa-youtube"></i>
        <a class="item youtube"><span class="count"></span><span class="col_follow">Subscribers</span></a>
      </div>
      </div>
    <script src="https://rawgit.com/mastamvan/backup/master/socialmediasimple.js"></script>
    <script>
    $('#social_media_counter').SocialCounter({
    //Get Usernames
    facebook_user: 'blogmastamvan',
    google_plus_id: '104992141840871245115',
    youtube_user: 'envato',
    twitter_user: 'Teja_7x',
    //Get Access Tokens,keys,client_ids
    google_plus_key:'AIzaSyDXpwzqSs41Kp9IZj49efV3CSrVxUDAwS0',
    facebook_token:'1627334644211864|3_tGe7MNSzumVcKxMyJUTqZAlz4',
    youtube_key:'AIzaSyDXpwzqSs41Kp9IZj49efV3CSrVxUDAwS0',
    });
    </script>
    
  • Widget Social Media Counter Sedang | #Back To Menu

  • Terdiri Dari : Social Media facebook, twitter, google, youtube, instagram, linkedin
    
    <div id="social_media_counter">
      <div class="mas tamvan_facebook">
        <i class="fa fa-facebook"></i>
        <a class="item facebook"><span class="count"></span><span class="col_follow">Likes</span></a>
      </div>
      <div class="mas tamvan_twitter">
        <i class="fa fa-twitter"></i>
        <a class="item twitter"><span class="count"></span><span class="col_follow">Followers</span></a>
      </div>
      <div class="mas tamvan_google">
        <i class="fa fa-google-plus"></i>
        <a class="item google"><span class="count"></span><span class="col_follow">Followers</span></a>
      </div>
      <div class="mas tamvan_youtube">
        <i class="fa fa-youtube"></i>
        <a class="item youtube"><span class="count"></span><span class="col_follow">Subscribers</span></a>
      </div>
      <div class="mas tamvan_instagram">
        <i class="fa fa-instagram"></i>
        <a class="item instagram"><span class="count"> </span><span class="col_follow">Followers</span></a>
      </div>
      <div class="mas tamvan_linkedin">
        <i class="fa fa-linkedin"></i>
        <a class="item linkedin"><span class="count"></span><span class="col_follow">Connections</span></a>
      </div>
      </div>
    <script src="https://rawgit.com/mastamvan/backup/master/socialmediasedang.js"></script>
    <script>
    $('#social_media_counter').SocialCounter({
    //Get Usernames
    facebook_user: 'blogmastamvan',
    instagram_user: 'teja7x',
    google_plus_id: '104992141840871245115',
    youtube_user: 'envato',
    twitter_user: 'Teja_7x',
    //Get Access Tokens,keys,client_ids
    instagram_token:'1295650148.1677ed0.dd10fd7af1784e6c8c93b1b806d120c2',
    google_plus_key:'AIzaSyDXpwzqSs41Kp9IZj49efV3CSrVxUDAwS0',
    facebook_token:'1627334644211864|3_tGe7MNSzumVcKxMyJUTqZAlz4',
    youtube_key:'AIzaSyDXpwzqSs41Kp9IZj49efV3CSrVxUDAwS0',
    linkedin_oauth: 'AQVi_jbCbb6NLtPnhNQMd3UFtgQNHreimKptTxo3iiyVhtrTJ8j31_5u3Xi-UjSGP25WejBKdEE5vyd8B2gWhW-hhrqTgDqSq-CS6OxUMGjuYxF9su-8mImn1A7H-ibiQtYPzlwBpIU0QiIqklFXBT7sXS6JGjczy0jrAQgtECYy7bpaTJ4' 
    });
    </script>
    
  • Widget Social Media Counter Full | #Back To Menu
  • 
    <div id="social_media_counter">
      <div class="mas tamvan_facebook">
        <i class="fa fa-facebook"></i>
        <a class="item facebook"><span class="count"></span><span class="col_follow">Likes</span></a>
      </div>
      <div class="mas tamvan_twitter">
        <i class="fa fa-twitter"></i>
        <a class="item twitter"><span class="count"></span><span class="col_follow">Followers</span></a>
      </div>
      <div class="mas tamvan_google">
        <i class="fa fa-google-plus"></i>
        <a class="item google"><span class="count"></span><span class="col_follow">Followers</span></a>
      </div>
      <div class="mas tamvan_instagram">
        <i class="fa fa-instagram"></i>
        <a class="item instagram"><span class="count"> </span><span class="col_follow">Followers</span></a>
      </div>
      <div class="mas tamvan_linkedin">
        <i class="fa fa-linkedin"></i>
        <a class="item linkedin"><span class="count"></span><span class="col_follow">Connections</span></a>
      </div>
      <div class="mas tamvan_youtube">
        <i class="fa fa-youtube"></i>
        <a class="item youtube"><span class="count"></span><span class="col_follow">Subscribers</span></a>
      </div>
      <div class="mas tamvan_vine">
        <i class="fa fa-vine"></i>
        <a class="item vine"><span class="count"></span><span class="col_follow">Followers</span></a>
      </div>
      <div class="mas tamvan_pinterest">
        <i class="fa fa-pinterest"></i>
        <a class="item pinterest"><span class="count"></span><span class="col_follow">Followers</span></a>
      </div>
      <div class="mas tamvan_dribbble">
        <i class="fa fa-dribbble"></i>
        <a class="item dribbble"><span class="count"></span><span class="col_follow">Followers</span></a>
      </div>
      <div class="mas tamvan_soundcloud">
        <i class="fa fa-soundcloud"></i>
        <a class="item soundcloud"><span class="count"></span><span class="col_follow">Followers</span></a>
      </div>
      <div class="mas tamvan_vimeo">
        <i class="fa fa-vimeo"></i>
        <a class="item vimeo"><span class="count"></span><span class="col_follow">Followers</span></a>
      </div>
      <div class="mas tamvan_github">
        <i class="fa fa-github"></i>
        <a class="item github"><span class="count"></span><span class="col_follow">Followers</span></a>
      </div>
      <div class="mas tamvan_behance">
        <i class="fa fa-behance"></i>
        <a class="item behance"><span class="count"></span><span class="col_follow">Followers</span></a>
      </div>
      <div class="mas tamvan_vk">
        <i class="fa fa-vk"></i>
        <a class="item vk"><span class="count"></span><span class="col_follow">Followers</span></a>
      </div>
      <div class="mas tamvan_foursquare">
        <i class="fa fa-foursquare"></i>
        <a class="item foursquare"><span class="count"></span><span class="col_follow">Friends</span></a>
      </div>
      </div>
    <script src="https://rawgit.com/mastamvan/backup/master/socialmediafull.js"></script>
    <script>
    $('#social_media_counter').SocialCounter({
    //Get Usernames
    dribbble_user: 'juanv911',
    facebook_user: 'blogmastamvan',
    instagram_user: 'teja7x',
    google_plus_id: '104992141840871245115',
    youtube_user: 'envato',
    pinterest_user: 'tejasukmana99',
    soundcloud_user_id: 'juanv911',
    vimeo_user: 'vimeocuration',
    github_user: 'desandro',
    twitter_user: 'Teja_7x',
    behance_user: 'juanv911',
    vine_user: '952223981988110336',
    vk_id: '66748',
    foursquare_user: 'mo3aser',
    //Get Access Tokens,keys,client_ids
    dribbble_token: 'Tokens',
    instagram_token:'1295650148.1677ed0.dd10fd7af1784e6c8c93b1b806d120c2',
    google_plus_key:'AIzaSyDXpwzqSs41Kp9IZj49efV3CSrVxUDAwS0',
    facebook_token:'1627334644211864|3_tGe7MNSzumVcKxMyJUTqZAlz4',
    youtube_key:'AIzaSyDXpwzqSs41Kp9IZj49efV3CSrVxUDAwS0',
    soundcloud_client_id:'TOKEN',
    vimeo_token:'TOKEN',
    behance_client_id:'TOKEN',
    foursquare_token:'TOKEN',
    linkedin_oauth: 'TOKEN' 
    });
    </script>
    
Silahkan Ganti Username Dan Token Yang Ada Pada Script dibawah Ini sesuai dengan akun social media kalian.

//Get Usernames
dribbble_user: 'juanv911',
facebook_user: 'blogmastamvan',
instagram_user: 'teja7x',
google_plus_id: '104992141840871245115',
youtube_user: 'envato',
pinterest_user: 'tejasukmana99',
soundcloud_user_id: 'juanv911',
vimeo_user: 'vimeocuration',
github_user: 'desandro',
twitter_user: 'Teja_7x',
behance_user: 'juanv911',
vine_user: '952223981988110336',
vk_id: '66748',
foursquare_user: 'mo3aser',
//Get Access Tokens,keys,client_ids
dribbble_token: 'Tokens',
instagram_token:'1295650148.1677ed0.dd10fd7af1784e6c8c93b1b806d120c2',
google_plus_key:'AIzaSyDXpwzqSs41Kp9IZj49efV3CSrVxUDAwS0',
facebook_token:'1627334644211864|3_tGe7MNSzumVcKxMyJUTqZAlz4',
youtube_key:'AIzaSyDXpwzqSs41Kp9IZj49efV3CSrVxUDAwS0',
soundcloud_client_id:'TOKEN',
vimeo_token:'TOKEN',
behance_client_id:'TOKEN',
foursquare_token:'TOKEN',
linkedin_oauth: 'TOKEN'

Jika Iconnya tidak tampil, silahkan tambahkan kode ini di atas </head>

<link rel='stylesheet prefetch' href='http://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css'>

Kalau Followersnya yang tidak tampil kalian tambahkan kode dibawah ini tepat di atas kode </head>

<script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
  • Kalo sudah, kalian tinggal save dan selsesai
Cukup sekian dan terima kasih, semoga artikel tentang cara memasang widget social media Follower counter ini bermanfaat.
apabila ada yang tidak di mengerti dan ada yang mau ditanyakan, bisa bertanya lewat kolom komentar :)
23 komentar
  1. YAng twitter udah bisa gitu yaa di blogger :v

    ReplyDelete
  2. Lapor.
    yang berhasil cuma Facebook Fanspage, Google plus, Instagram, Github, yang lainnya nihil
    Terus kalau youtube iitu minimal berapa biar tampil counternya?

    ReplyDelete
  3. Bisa gan, coba ganti juga tokennya...
    //Get Access Tokens,keys,client_ids
    dribbble_token: 'Tokens',
    instagram_token:'1295650148.1677ed0.dd10fd7af1784e6c8c93b1b806d120c2',
    google_plus_key:'AIzaSyDXpwzqSs41Kp9IZj49efV3CSrVxUDAwS0',
    facebook_token:'1627334644211864|3_tGe7MNSzumVcKxMyJUTqZAlz4',
    youtube_key:'AIzaSyDXpwzqSs41Kp9IZj49efV3CSrVxUDAwS0',
    soundcloud_client_id:'TOKEN',
    vimeo_token:'TOKEN',
    behance_client_id:'TOKEN',
    foursquare_token:'TOKEN',
    linkedin_oauth: 'TOKEN'

    ReplyDelete
  4. seandainya wordpress bisa pake.... pasti lebih mudah

    ReplyDelete
    Replies
    1. wordpress juga bisa gan, widgetnya banyak bertebaran d google :3

      Delete
  5. cara mendapatkan token nya di mana gan ??

    ReplyDelete
    Replies
    1. Token yang mana gan?
      Caranya beda-beda.
      Kalo untuk yt sama G+ cukup ganti ini juga bisa.
      google_plus_id: '104992141840871245115',
      youtube_user: 'envato',

      Delete
  6. cuma kok kagak keluar ya angka nya ya bro

    ReplyDelete
    Replies
    1. Yang mana gan?
      apakah udah ada kode ini?

      <script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>

      Delete
  7. di ana gan tulisan followernya gak cukup, jadinya turun ke bawah.... solusinya gimana.... https://4.bp.blogspot.com/-ewWFCIovSjU/WH-DI_0ScUI/AAAAAAAAAA8/n9MCEYJHDkw405uTvDJfxQUBWsV-X_rfgCLcB/s1600/mas%2Btamvan.bmp

    ReplyDelete
    Replies
    1. Atur Lebar css bagian ininya gan.
      #social_media_counter .mas .col_follow {
      width: 76px;
      }

      Delete
  8. mas saya ga keluar counter fbnya padahal facebook sama google tokennya sama kaya yg diatas
    mohon bantuannya
    http://www.devsilver.cf/

    ReplyDelete
    Replies
    1. Agan cuma pasang 2, Twitter sama Google Plus.
      Jadi Facebooknya ga tampil, coba di pasang ulang.

      Delete
  9. How can I make it so that the widget is horizontal and all the follower counts are on one line? Thank you.

    ReplyDelete