This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Get Facebook Likes

Description

Get Facebook Likes interacts with Facebook Graph API and saves likes, shares, and comments count to post meta right after users hit Like/Share buttons or leaves a Facebook comment. Therefore you can do some awesome stuff that you think it’s impossible before like sort posts, order search results, vote, deeper analytics… by Facebook likes (and shares, comments too).

Get Facebook Likes also comes with powerful event system which lets you expand and build robust addons on it.

As we’re both developers and end users, we’re obviously love fast & ease of use plugins. Get Facebook Likes uses native Facebook JS SDK and works right after activated, no cronjob setup is required. Just a few options to tweak your script to the highest speed.

Features

  • Basic Mode which compatibility with all WP Sites
  • Advanced Mode which have better performance and more accurate
  • Use native Facebook API to listening user event and get facebook likes/shares/comments
  • Save likes/shares/comments to post meta for further use
  • Built-in shortcodes [likes], [shares], and [comments]
  • Likes custom column and sorting
  • Most favourite content on the Dashboard area which display top 10 posts which have most likes+shares+comments
  • Display likes/shares/comments in Post Editing screen if Meta Box plugin is installed
  • One click install, can’t be simpler.

Use Cases

  • Display most liked post from your website
  • Create a contest on your website which use Facebook Like (or Share) to vote
  • Restrict content, require at least X likes to view.
  • Discount your product if it has at least X likes
  • Track Facebook likes, shares, comments per day

Why using Get Facebook Likes?

  • There’re a few plugins available here, you can also found some tutorials on Google but they’re mostly using outdated Facebook API versions, some using FQL which is deprecated.
  • Most of them merges likes and shares into one field so you won’t know exactly how many likes or shares.
  • Most of them try to insert post meta each time posts load, some require you insert their snippet to your WP loop. Imagine your category have 20 posts displaying, those plugin will try to insert post meta 20 times. It’s really bad performance.
  • Get Facebook Likes works via ajax on the background, immediately when users Like or Share your post. It’s friendly with your website.

Plugin Links

Screenshots

  • Settings Page
  • Tracking Meta Box, shows when Meta Box is installed
  • Custom Column and Sorting
  • Most Favourited Content

Installation

  1. Upload the plugin files to the /wp-content/plugins/get-facebook-likes directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Use the Settings\Get Facebook Likes screen to configure the plugin

FAQ

Does it requires Facebook App ID?

No, Get Facebook Likes works without App ID. But it’s recommended to use more advanced feature of Facebook like App Tracking, Moderate Comments, etc…

I have already installed Facebook JS SDK, what option I should use?

If you’ve already installed Facebook JS SDK by placing their script right after open body tag or by another plugin. Just uncheck Auto add Facebook JS SDK to wp_head option and place GFL_Main.init() after FB.init(); in window.fbAsyncInit method like Setup Guide in Settings\Get Facebook Likes

Does the plugin count the likes from the beginning of time?

Yes, each time the update like event was fired (also applied to share, comment), it makes a GET request to Facebook to retrieve total count of them. This because some users may like or share your post outside of your website.

Reviews

September 3, 2016
good, simple and useful where do i add this line js.src = "//connect.facebook.net/fr_FR/sdk.js#xfbml=1&version=v2.3"; to change facebook items language. thx for help
September 3, 2016
Works like a charm! Thank you.
Read all 3 reviews

Contributors & Developers

“Get Facebook Likes” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Get Facebook Likes” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.1.2 (March 08, 2016)

  • New Add sorting query args so user can sort posts via url
  • New Convert to K, M, B if total likes, shares, comments is more than 10k
  • Fix [comments] shortcode doesn’t works

1.1.1 (Feb 25, 2016)

  • Improvement Add Likes, Shares, Comments columns in Most Favourite Content meta box
  • Improvement Add settings page hooks
  • Improvement Most Favourite Content widget now showing Likes and Shares
  • Improvement Add minified script gfl-main.min.js
  • Fix Javascript Event doesn’t works properly
  • Fix Use WordPress recommended text domain

1.1 (Feb 02, 2016)

  • New Add JS Events
  • New Add I18N support
  • New Allows users set JS SDK Locale
  • Improvement Use gfl_count() instead of gfl_facebook_count();

1.0 (Jan 24, 2016)

  • Initial Release