Home > twitter_badge

twitter_badge

Twitter_badge is a project mainly written in PHP, it's free.

A Twitter badge written in PHP

  1. Edit the config section in twitter_badge.php
  2. Include the file into your code like this:

Twitter

  1. Or since contacting Twitter may increase your site load time, use:

Twitter

    Loading tweets...

with the following Javascript (note, this code is for jQuery; you can adjust accordingly to standard Javascript or any other framework):

$(document).ready(function(){ $("#twitter-updates").load("twitter_badge.php"); });

  1. Style #twitter-box, #twitter-updates, and #twitter-updates li however you like (you can even change the ID/classes if you would like too).
Previous:sample_app