Get Social Network Share Counts for a URL with my PHP Class

A while back I published a post Get Social Network Share Counts which showed how to get the share counts for several social networks. This was basic and mostly used JavaScript

This article is a code snippet. I created a quick and easy to use PHP Class to get the social network share counts of a URL from for my new Web Development company Apollo Web Studio.

  • Facebook Shares
  • Facebook Likes
  • Twitter tweets
  • Buffer Shares
  • Pinterest shares
  • LinkedIn Shares
  • Google Plus Ones +1

I wont get into explaining it to much as it;s very basic. There is always room for improvement but its something I threw together tonight for this post and a small project Im working on.

Social Network Share Count PHP Class

Demo Usage Example