How to check popularity of URL across Facebook, Twitter, Reddit, Google plus, StumbleUpon, LinkedIn and Pinterest using PHP and JQuery

Today we are going to learn  more about how to check the URL popularity across the social networks like

  • Facebook
  • Twitter
  • Reddit
  • Google plus
  • StumbleUpon
  • LinkedIn
  • Pinterest

Popularity means this same url  how many times shared ,liked ,commented and pinned by the users across the social networks. Ok

Before going to the implementation we should know about all these social api details. Here i given api details to grab the social popularity

Facebook:

For the facebook i used following API url

Whenever you call this url it should return

Twitter:

For twitter i have used following api url

It will return Json format

Reddit:

For Reddit i used following API url.

It will return some set of result like this

Google plus:

For google plus i have used following API url

Also you need to pass some parameter along with this url in POST method

It will return following object

StumbleUpon:

For stumbleupon i have used following API url

And it will return following results

LinkedIn:

For LinkedIn i used following API url

It returns following Json Objects

Pinterest:

For Pinterest i used following API url

it returns

That is it.And I used CURL concept to grab this data. Here i have added my PHP, Jquery and HTML Code

PHP:

JQUERY:

HTML:

Thanks…

 
Download
 

Note:

Please don’t forget to share and subscribe to latest updates of the blog .