SharedCount

Use SharedCount.com to fetch statistics about shares/likes from multiple services in one call.

Supported services #

  • Facebook
  • Twitter
  • Pinterest
  • LinkedIn
  • StumbleUpon
  • Google+

Usage #

{% set stats = craft.sharedcount.likes({
    url: 'http://google.com'
}) %}

<ul>
{% for service,count in stats %}
    {% if count is iterable %}
        <li>{{ service }}
        <ul>

        {% for key,value in count %}
            <li>{{ key }}: {{ value }}</li>
        {% endfor %}
        </ul>
        </li>
    {% else %}
        <li>{{ service }}: {{ count ? count : 0 }}</li>
    {% endif %}
{% endfor %}
</ul>

Releases

0.1 — 2015-03-03 Download
  • Added: Initial release

Currently available for Craft consulting and custom plugin development

Contact me