Tired of inserting heavy script tags from different websites ti display your latest twitter updates on website ? Well today I am going to share this simple yet powerful PHP script with you, which requires no API interaction with twitter, no password authentication, but displays your latest status message on which you sent on twitter.
Its usage is fairly simple, just follow the following steps. If you think you are not that technical sound, I assure you if you follow the steps given below you will be able to use it anywhere you want to.
- Download the zipped file from here and unzip this in a folder.
- Open the config file (config.inc) and specify your username, color of the text.Please do not change the values of $xpos and $ypos, if you do not know what it is.Change the other settings, if you know what you are doing and if you think its needed.
- Now you can use the PHP (badgeCreator.php) file as an src tag anywhere you want to display this image. You can also change the name of the PHP file to suit your needs. An example is written in the badge.html in the zipped file, but here is the code.
<!-- simply insert this image tag any webpage,with proper path for the badgeCreator.php --> <img src="badgeCreator.php" border="0" alt="My twitter status" />
Here is my live twitter timeline, on the bird.
Hope you would use it nicely. If you like it, let me know through your comments. I coded it really quickly.
Stay Digified !!