PHP Classes

Simple Twitter: Retrieve user status from Twitter

Recommend this page to a friend!
  Info   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 62%Total: 1,917 All time: 2,057 This week: 488Up
Version License PHP version Categories
simpletwitter 1.1GNU General Publi...5.0HTML, PHP 5, Web services, Social Net...
Description 

Author

This class can be used to retrieve the statuses of Twitter users.

It can send HTTP requests to Twitter Web services API to perform several types of operations.

The class can retrieve the time line of statuses of a given Twitter user, the public time line, the statuses of the friends of a given user, the relationship between two Twitter users, search for statuses with a given text, and information about a given user.

The class can also convert URLs in the retrieved statuses into HTML links.

Picture of Tomaž Muraus
Name: Tomaž Muraus <contact>
Classes: 5 packages by
Country: Slovenia Slovenia
Age: ???
All time rank: 13495 in Slovenia Slovenia
Week rank: 178 Up1 in Slovenia Slovenia Up

Details

_________________________________________________________________ README Content: 1. About 2. Description 3. System requirements 4. Usage _________________________________________________________________ (1) ABOUT VERSION: 1.0 AUTHOR: Tomaž Muraus <kami[at]k5-storitve[dot]net> WEBSITE: http://www.tomaz-muraus.info (2) DESCRIPTION SimpleTwitter is a simple PHP script for retrieving your twitter status messages and some other functionality. None of the actions in this class require user authentication. (3) SYSTEM REQUIREMENTS - PHP >= 5.0.0 - 1 MB of free disk space (4) USAGE 1. Include a file SimpleTwitter.php in your PHP script 2. Create a SimpleTwitter object - first parameter is your twitter username. 3. The following methods are available: getMyTimeline($limit = 10, $formatLinks = TRUE) -> returns $limit latest status messages for your account getPublicTimeline($limit = 10, $formatLinks = TRUE) -> returns $limit status messages from the public time line getFriendsStatus($formatLinks = TRUE) -> returns status messages from your friends getUserRelationship($targetScreenname) -> returns relationship information between your and given user account findTwitts($query, $formatLinks = TRUE) -> returns status messages matching the search query getUserInformation() -> returns information about your twitter account Example is located in file SimpleTwitter.example.php.

Screenshots (1)  
  • sample_output.jpg
  Files folder image Files (5)  
File Role Description
Plain text file SimpleTwitter.php Class Main class
Plain text file SimpleTwitter.example.php Example Usage example
Plain text file README Doc. Readme
Plain text file LICENSE Lic. License

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,917
This week:0
All time:2,057
This week:488Up
User Ratings User Comments (3)
 All time
Utility:79%StarStarStarStar
Consistency:83%StarStarStarStarStar
Documentation:70%StarStarStarStar
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:62%StarStarStarStar
Rank:931
 
thanks
11 years ago (Ashok kumar kashyap)
80%StarStarStarStarStar
some methods are not working including : getFriendsStatus
12 years ago (dhanesh mane)
37%StarStar
I wasn't sure at first how to access the elements within the ...
15 years ago (Steve)
75%StarStarStarStar