Leanring The Social Value Of Your Site




WebDeveloperNews (Enable Images to Fully Enjoy) WebDeveloperNews (Enable Images to Fully Enjoy) News Archives About Us Feedback
January 24, 2012
How To Programatically Find the Social Statistics of Your Website using PHP
By: Trevor Boland
Whether you're in the SEO business or just have a general curiosity about your website's popularity, it's nice to see the numbers on your share/+1/tweet buttons climb. But what if you wanted to check the values of those numbers programatically? With most of the sites offering RESTApi methods, you can get the numbers rather simply with an http GET request.

Call to the below listed urls, inserting the URL of the site and you'll recieve a json object with the desired information.

Facebook: http://graph.facebook.com/?id=[YOUR URL HERE]
Twitter: http://cdn.api.twitter.com/1/urls/count.json?url=[YOUR URL HERE]
Reddit: http://www.reddit.com/api/info.json?url=[YOUR URL HERE]
Stumbleupon: http://www.stumbleupon.com/services/1.01/badge.getinfo?url=[YOUR URL HERE]


Continue Reading
Interested in contributing to the Developer community?
Can you write expert articles and news addressing web development including CSS, HTML, javascript and other developer related topics? If so, we are looking for you. Contact techwriters@ientry.com.

Today's Top Videos:
Alec Shankman Explains How GotCast Uses Tech to Bridge Talent & Agents
After working as an agent for several years, Alec Shankman realized that there was a serious divide in bringing fresh talent together with producers, agents, and casting directors.
Congressman Boucher on the Failed AT&T/T-Mobile Merger – What Now?
After the AT&T/T-Mobile merger fell threw last month, a lot of questions have been raised about what happens next with both companies. Will AT&T still be able to fulfill its goals?
Interview: Raditaz Launches to Take on Pandora
While the announcement of another music service is not out of the ordinary, a new one that is launching today has some features that will likely turn a few heads. The service is called Raditaz...
Recent Articles:
Google: No More Panda Updates in 2011
The Panda will continue to strike in 2012 after a brief holiday break in December 2011. This was announced by Google on Twitter. While Panda updates have ceased for 2011 after the last update in November, they will continue after the New Year. The announcement on Twitter was a part of the weather updates that Google decided to keep coming, about its algorithmic update.

Many webmasters are seeing it as an early Holiday gift from Google. They are getting a breather to Panda Proof...
Read More...

WordPress SEO for Beginners
What are SEO essentials when it comes to publishing a new WordPress Page or Post? There are some basic things you can do to make sure your new page or post is set up for the Google crawler to... Video
Read More...
Five Easy Ways To Improve Your Homepage
It's easy to overlook important information that your website visitors may need when they first arrive to your homepage. While landing pages are helpful in guiding searchers to your...
Read More...
Now Manage Custom Search Engines...
In an attempt to make things easier and quickly accessible for webmasters, Google has now allowed for Custom Search Engines to be accessed from the Webmaster Tools account only.
Read More...
Other iEntry Business Resources:
- WebProNews.com
- Jayde.com
- MarketingNewz.com
- SalesNewz.com
- CareerNewz.com
- InvestNewz.com
- eCommNewz.com
- WebsiteNotes.com
- AdvertisingDay.com
iEntry
 
--This email is a service of WebDeveloperNews--
iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509
2012 iEntry, Inc. All Rights Reserved Privacy Policy Legal