0% found this document useful (0 votes)
41 views1 page

Edith Cowan University: School of Computer and Security Science

The document provides instructions for a PHP scripting task that requires accessing the Twitter API to retrieve either recent tweets for a specified user or search results for a given keyword, and outputting the results in a human readable format. The script must be able to fetch a specified number of recent tweets for a user or search tweets containing a keyword and output a specified number of results, and the command line structure is provided.

Uploaded by

AkshrayKc
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
41 views1 page

Edith Cowan University: School of Computer and Security Science

The document provides instructions for a PHP scripting task that requires accessing the Twitter API to retrieve either recent tweets for a specified user or search results for a given keyword, and outputting the results in a human readable format. The script must be able to fetch a specified number of recent tweets for a user or search tweets containing a keyword and output a specified number of results, and the command line structure is provided.

Uploaded by

AkshrayKc
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 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

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy