Ejemplo n.º 1
0
  *  Get the total count of mentions of $url on Twitter.
  */
 echo "Twitter Shares:          " . Social::getTwitterShares() . PHP_EOL;
 /**
  *  Get interaction counts (shares, likes, comments, clicks) for $url on Facebook.
  */
 echo "Facebook Shares:         ";
 print_r(Social::getFacebookShares());
 /**
  *  Get the total count of shares for $url via VKontakte.
  */
 echo "VKontakte Shares:        " . Social::getVKontakteShares() . PHP_EOL;
 /**
  *  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.