PHP Classes

PHP Social Sharing: Get the times a page is shared in social networks

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 45%Total: 517 All time: 5,727 This week: 524Up
Version License PHP version Categories
social-sharing 1.0GNU General Publi...5PHP 5, Web services, Social Networking


This class can get the times a page is shared in social networks.

It can send HTTP requests to the API servers of Facebook, Twitter and Google+ to retrieve the number of times a given page was shared in those social networks.

The class can get the individual number of times the page was shared in each social network or all networks at once.

Innovation Award
PHP Programming Innovation award nominee
November 2013
Number 8
Seeing Web site content being shared is one of the most evident ways to demonstrate the interest of that content to the people.

This class provides means to determine how many times a page has been shared on Facebook, Twitter and Google+.

It may be useful for sites to demonstrate that the Web pages that were shared are interesting to users that did not know them.

Manuel Lemos
Picture of Adri An
Name: Adri An <contact>
Classes: 1 package by
Country: Croatia Croatia
Age: 36
All time rank: 32346 in Croatia Croatia
Week rank: 258 Up1 in Croatia Croatia Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Plain text file socialSharing.php Class Main class 1KB
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
cURL Download .zip .tar.gz Makes requests for URL data Required
 Version Control Unique User Downloads Download Rankings  
This week:0
All time:5,727
This week:524Up
 User Ratings  
 All time