Skip to content

Instantly share code, notes, and snippets.

@askfriends
askfriends / get-social-counts.php
Created November 12, 2012 06:24 — forked from kopiro/get-social-counts.php
Get social counts from Facebook, Twitter, GPlus
<?php
/* Return object of shared counts */
function get_social_count( $link ) {
$r = (object)array();
$r->facebook = get_social_count_facebook($link);
$r->twitter = get_social_count_twitter($link);
$r->gplus = get_social_count_gplus($link);
return $r;
}