Title: Tyme Social Count
Author: TyB
Published: <strong>December 10, 2014</strong>
Last modified: February 11, 2015

---

Search plugins

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.

![](https://s.w.org/plugins/geopattern-icon/tyme-social-count.svg)

# Tyme Social Count

 By [TyB](https://profiles.wordpress.org/tyb/)

[Download](https://downloads.wordpress.org/plugin/tyme-social-count.zip)

 * [Details](https://wordpress.org/plugins/tyme-social-count/#description)
 * [Reviews](https://wordpress.org/plugins/tyme-social-count/#reviews)
 *  [Installation](https://wordpress.org/plugins/tyme-social-count/#installation)
 * [Development](https://wordpress.org/plugins/tyme-social-count/#developers)

 [Support](https://wordpress.org/support/plugin/tyme-social-count/)

## Description

This plugin will query the popular social network APIs and retrieve the number of
shares/likes/plusones from each. All shares are added up and calculated together
to give you the total number of shares. All that is returned is a simple number.
This number represents the number of shares, likes, tweets, +1’s, and pins.

The plugin can be utilized two ways, the first method is the AJAX route which will
require you to add a little javascript to your template. This method is the preferred
method if you are requesting the share count for multiple posts on one page load.
For example on an archive page. Below is a quick example of how that is done:

    ```
    jQuery.get(ajaxurl, { action: "get_total_shares", url: "<?php the_permalink(); ?>" }).done(function(data) {     var shareNum = parseInt(data); // your total number of shares }); 
    ```

**Note:** You can call this AJAX anyway you wish, but you **must** pass `the_permalink();`
as the `url` parameter and `"get_total_shares"` for the `action` parameter.

If you are just displaying the share count for one post at a time, you may use the
plugin shortcode to return the number. That shortcode is `[tyme_share_count]`

This plugin also refreshes the Facebook Open Graph scraper each time a post is published.
This ensures the proper images and content are being served to Facebook when shared.

## Installation

 1. Upload the ‘tyme-social-count’ directory to your ‘/plugins/’
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. You can use the plugin by using the shortcode `[tyme_share_count]` or by following
    the AJAX method mentioned in the README. AJAX is the preferred route to prevent
    slow page load times

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Tyme Social Count” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ TyB ](https://profiles.wordpress.org/tyb/)

[Translate “Tyme Social Count” into your language.](https://translate.wordpress.org/projects/wp-plugins/tyme-social-count)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/tyme-social-count/),
check out the [SVN repository](https://plugins.svn.wordpress.org/tyme-social-count/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/tyme-social-count/)
by [RSS](https://plugins.trac.wordpress.org/log/tyme-social-count/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.2

 * Added cURL request to update Facebook Open Graph scraper on post publish

#### 1.1

 * Bug fixes

#### 1.0

 * First release

## Meta

 *  Version **1.2**
 *  Last updated **11 years ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 3.0.1 or higher **
 *  Tested up to **4.1.42**
 * Tags
 * [api](https://wordpress.org/plugins/tags/api/)[facebook](https://wordpress.org/plugins/tags/facebook/)
   [fb](https://wordpress.org/plugins/tags/fb/)[google](https://wordpress.org/plugins/tags/google/)
   [LinkedIn](https://wordpress.org/plugins/tags/linkedin/)[network](https://wordpress.org/plugins/tags/network/)
   [og](https://wordpress.org/plugins/tags/og/)[open graph](https://wordpress.org/plugins/tags/open-graph/)
   [Pinterest](https://wordpress.org/plugins/tags/pinterest/)[shares](https://wordpress.org/plugins/tags/shares/)
   [social](https://wordpress.org/plugins/tags/social/)[social count](https://wordpress.org/plugins/tags/social-count/)
   [social networks](https://wordpress.org/plugins/tags/social-networks/)[twitter](https://wordpress.org/plugins/tags/twitter/)
 *  [Advanced View](https://wordpress.org/plugins/tyme-social-count/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/tyme-social-count/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/tyme-social-count/reviews/)

## Contributors

 *   [ TyB ](https://profiles.wordpress.org/tyb/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/tyme-social-count/)