After my previous tutorial that illustrated how to implement a super simple way to work with Twitter API (PHP + CSS) I received a lot of emails from my readers that asked to me to write a post about how to implement a simple Twitter search and display search results in a web page with a custom format. So in this tutorial I want to illustrate how you can implement that using a very useful Twitter Search API for PHP developed by David Billingham.
Using this simple method you can obtain, just in some lines of PHP and CSS code, awesome results like this:
You can download the source code at the following link and reuse it for free in your web projects just in some seconds!
1. A little introduction In this package you'll find two PHP file:
- index.php: the search page (search form + search results) - search.php: Twitter Search API for PHP
You have to customize onlyindex.php and your Twitter Search will be ready to be integrated into yor web projects in one minute!
2. Index.php Take a look at index.php. This page contains a simple search form: