PHP: how to display tweets on a webpage using php?

This simple tutorial will show how to display twitter tweets using custom php. Step 1: Download tweet-php from https://github.com/jnicol/tweet-php whereever you want. Step2: Add following code before the section where you want to display tweets: require_once(‘tweet-php/TweetPHP.php’); $TweetPHP = new TweetPHP(array( ‘consumer_key’ => ‘xxxxxxxxxxxxxxxxxxxxx’, ‘consumer_secret’ => ‘xxxxxxxxxxxxxxxxxxxxx’, ‘access_token’ => ‘xxxxxxxxxxxxxxxxxxxxx’, ‘access_token_secret’ => ‘xxxxxxxxxxxxxxxxxxxxx’, ‘twitter_screen_name’ => ‘yourusername’ )); […]