How to Create Social Stats Widget with jQuery,PHP and YQL
Tutorialzine has writen nice tutorial about how to create a simple widget, which combines the number of your RSS readers, twitter followers, and fans of facebook fan page, to give a rough estimate of social popularity.
They are using jQuery and the tipTip plugin, object-oriented PHP, and Yahoo’s YQL, while demonstrating a number of interesting web development techniques.
This is especially important here, as they are using Yahoo’s YQL for three very different tasks:
- Fetch RSS subscriber count with FeedBurner’s awareness API
- Use twitter’s API to get number of followers;
- Use Facebook’s new Graph API (link) to get information about the number of fans of facebook fanpage.
Requirements: JQuery framework, tip tip plugin,PHP,YQL
Demo: http://demo.tutorialzine.com/2010/05/showing-facebook-twitter-rss-stats-jquery-yql/demo.html
License: License free