* Get the total count of shares for $url via Pinterest. */ echo "Pinterest Shares: " . Social::getPinterestShares() . PHP_EOL; /** * Get the total count of shares for $url via LinkedIn. */ echo "LinkedIn Shares: " . Social::getLinkedInShares() . PHP_EOL; /** * Get interaction counts (shares, comments, clicks, reach) for host of $url on Xing. */ echo "Xing Shares: "; print_r(Social::getXingShares()); /** * Get the total count of shares for $url via Delicious. */ echo "Delicious Shares: " . Social::getDeliciousShares() . PHP_EOL; /** * Get the Top10 tags for $url from Delicious. */ echo "Xing Shares: "; print_r(Social::getDeliciousTopTags()); /** * Get the total count of shares for $url via Digg. */ echo "Digg Shares: " . Social::getDiggShares() . PHP_EOL; /** * Get the total count of shares for $url via StumpleUpon. */ echo "StumpleUpon Shares: " . Social::getStumbleUponShares() . PHP_EOL; } } catch (\Exception $e) {