You are on page 1of 1

``

Edith Cowan University


School of Computer and Security Science

Task
Write a script in PHP that accesses the twitter service and outputs results in a human readable manner.
The required functionality is listed below

The system must be able to:


Retrieve a specified number of recent tweets for a particular user
Search for a particular word and output a specified number of results

The command line structure will be as follows:

# To fetch recent tweets for a user


$ php twitter.php show username number

# To search for a word


$ php twitter.php search keyword number

School of Computer and Security Science

You might also like