Home » Web Services » Services_Twitter
PHP interface to Twitter's API
This package is unmaintained.
Download latest release 0.7.0 (there might be newer Composer installable version)
License: New BSD License
Description
An interface for communicating with Twitter's public API. Send status updates, fetch information, add friends, etc.
Maintainers
- Bill Shupp (shupp) — lead, active
- David Jean Louis (izi) — lead, active
- Joe Stump (jstump) — lead, active
Dependencies
Required
- PHP (>= 5.2.0)
- PEAR Installer (>= 1.4.0b1)
- PEAR (>= 1.4.0)
- HTTP_Request2
- json (extension)
- mbstring (extension)
- simplexml (extension)
Optional
- HTTP_OAuth (>= 0.1.7)
Releases
- 0.7.0 (beta, 2016-01-28)
Release notes
License: New BSD License
* Added composer support
* Improved unit tests
* Updated to API 1.1
* Updated favorites API
* Updated user_timeline API - 0.6.3 (beta, 2010-09-12)
Release notes
License: New BSD License
* Applied patch from steve_twitpic: support for users/lookup, geo/search, and geo/id (fixes #17694)
* Updated the search endpoint - 0.6.2 (beta, 2010-08-09)
Release notes
License: New BSD License
* Search and routing fixes from nocontents@gmail.com
- 0.6.1 (beta, 2010-06-05)
Release notes
License: New BSD License
* Fixed #17345. Use internal errors for libxml to surpress warnings
- 0.6.0 (beta, 2010-06-01)
Release notes
License: New BSD License
* Updated statuses/update method : added lat, long, place_id and display_coordinates parameters (closes feature request #17421)
* Added lists and trends support from http://blog.cheki.net/archives/1618
* Added generatePackage.php for easy package.xml management - 0.5.1 (beta, 2010-03-01)
Release notes
License: New BSD License
* Fixed bug #17075. Wrong test in package
* Added mb_string requirement after reported issues - 0.5.0 (beta, 2010-01-06)
Release notes
License: New BSD License
REST API changes:
-----------------
+ added statuses/home_timeline method,
+ added statuses/retweeted_by_me method,
+ added statuses/retweeted_to_me method,
+ added statuses/retweets_of_me method,
+ added statuses/retweet method,
+ added statuses/retweets method,
+ added report_spam method,
* changed old API url (http://twitter.com) to http://api.twitter.com/1,
* replaced page by cursor attribute in statuses/friends, statuses/followers, friends/ids and followers/ids,
* set auth required to false in account/rate_limit_status,
- removed email parameter in account/update_profile method,Search API changes:
-------------------
+ added locale parameter to search method.Other changes:
--------------
* fixed screenname regex,
* fixed and improved some tests. - 0.4.0 (beta, 2009-09-14)
Release notes
License: New BSD License
New Features:
-------------
* OAuth support [shupp]
* SSL support [izi]Fixes/improvements:
-------------------
* Fixed a bug in UTF8 detection [izi]
* Fixed some unit tests [izi]
* make use of setOption/getOption internally instead of manipulating the options array directly [izi] - 0.3.0 (beta, 2009-08-26)
Release notes
License: New BSD License
This is a major update of Services_Twitter with some backward incompatible changes.
Please read this carefully before upgrading.General changes and bug fixes:
------------------------------
* moved code to svn.php.net (fixes bug #16534) [izi]
* removed endpoints code (hard to maintain) in favor of a xml definition file and generic methods (fixes #15472) [izi]
* better validation of parameters [izi]
* switch to JSON format as default (XML is still available) [izi]
* switch to HTTP_Request2 (fixes bug #15072) [izi]
* make the test suite runnable locally with mock HTTP responses (fixes bug #15084 #15085), coverage is now 100% [izi]
* updated dependencies in package.xml (fixes bug #16522) [izi]
* automagically convert all strings to unicode before sending them to twitter [izi]Search API changes:
-------------------
+ added trends/current method [izi]
+ added trends/daily method [izi]
+ added trends/weekly method [izi]REST API changes:
-----------------
* statuses/friends_timeline: removed "since" parameter (no longer supported) and added "max_id" parameter [izi]
* statuses/user_timeline: removed "since" parameter (no longer supported) and added "user_id" and "screen_name" parameters [izi]
+ added statuses/mentions method (fixes bug #16475) [izi]
- removed statuses/replies (no longer supported) [izi]
* statuses/friends: removed "since" parameter (no longer supported) and added "user_id" and "screen_name" parameters [izi]
* statuses/followers: added "user_id" and "screen_name" parameters [izi]
* direct_messages: removed "since" parameter (no longer supported) and added "max_id" and "count" parameters [izi]
* direct_messages/sent: removed "since" parameter (no longer supported) and added "max_id" and "count" parameters [izi]
* direct_messages/new: added "user_id" and "screen_name" parameters [izi]
* friendships/create: added "user_id" and "screen_name" parameters [izi]
* friendships/destroy: added "user_id" and "screen_name" parameters [izi]
* users/show: removed "email" parameter, no longer supported by the API [izi]
+ added friendships/show method [izi]
+ added "Social Graph methods": friends/ids and followers/ids [izi]
* notifications/follow: added "user_id" and "screen_name" parameters [izi]
* notifications/leave: added "user_id" and "screen_name" parameters [izi]
+ added account/update_profile_colors [izi]
+ added account/update_delivery_device [izi]
+ added account/update_profile_image [izi]
+ added account/update_profile_background_image [izi]
+ added account/update_profile [izi]
+ added blocks/exists [izi]
+ added blocks/blocking [izi]
+ added saved_searches [izi]
+ added saved_searches/show [izi]
+ added saved_searches/create [izi]
+ added saved_searches/destroy [izi]
- removed help/downtime_schedule (no longer supported) [izi]*** IMPORTANT: BACKWARD INCOMPATIBLE CHANGES ***
- $twitter->search->query() has been replaced by $twitter->search() (you can also write $twitter->search->search())
- the twitter API has changed, so some methods have been updated, removed or added (see above), you'll have probably to update your code
- there are maybe some others incompatible changes, but it will be trivial to update your code - 0.2.1 (beta, 2009-05-03)
- 0.2.0 (beta, 2008-11-01)
Release notes
License: New BSD License
* Fixed a bug in the Services_Twitter_Account::end_session() method (jstump)
* Fixed a singleton problem that only allowed a single instance to ever run (#14840, izi)
* Added ability to specify an in_reply_to_status_id when sending an update (#14714, jstump)
* Added ability to specify a source using setOption('source', $source) that is sent with all requests (#14715, jstump)
* Added ability to retrieve someone else's followers (#14936, davidc)
* Added Services_Twitter_Account::update_location() method (jstump)
* Added Services_Twitter_Account::update_delivery_device() method (jstump)
* Added Services_Twitter_Search::trends() method (jstump)
* Added Services_Twitter_Search::query() method (jstump) - 0.1.0 (beta, 2008-07-26)
Bugs
| ID | Status | Type | Version | Date | Summary |
|---|---|---|---|---|---|
| #14714 | Closed | Req | 0.1.0 | 2008-09-25 | support for "in_reply_to_status_id" |
| #14715 | Closed | Req | 0.1.0 | 2008-09-25 | support for "source" |
| #14716 | Closed | Req | 0.1.0 | 2008-09-27 | Services_Twitter_Search |
| #14840 | Closed | Bug | 0.1.0 | 2008-10-21 | Singleton pattern prevents multiple Twitter accounts from being used |
| #14936 | Closed | Bug | CVS | 2008-11-01 | Twitter API Followers specification |
| #15072 | Closed | Req | 0.2.0 | 2008-11-18 | Use HTTP_Request2 rather than cURL |
| #15084 | Closed | Bug | CVS | 2008-11-19 | Tests should skip if no configuration is available |
| #15085 | Closed | Req | CVS | 2008-11-19 | Make use of a mock http request adapter to simulate twitter responses |
| #15358 | Closed | Bug | CVS | 2008-12-19 | verify_credentials wrong type checking |
| #15472 | Closed | Req | 0.2.0 | 2008-12-31 | driver instances should inherit options |
| #16385 | Bogus | Bug | 0.2.1 | 2009-06-28 | Nots in Search ignore quoted text |
| #16475 | Closed | Req | 0.2.1 | 2009-07-26 | Support for "mentions" timeline |
| #16522 | Closed | Doc | 0.2.1 | 2009-08-14 | List of dependencies not complete (PHP extensions). |
| #16534 | Closed | Bug | CVS | 2009-08-18 | Move from google code to svn.php.net |
| #16565 | Bogus | Bug | 0.3.0 | 2009-09-02 | status->update in_reply_to_status_id not working after upgrade |
| #17044 | Closed | Req | 0.5.0 | 2010-01-29 | users/show endpoint params wrong |
| #17075 | Closed | Bug | CVS | 2010-02-09 | Fatal error: Class 'Services_GeoNames_AllTests' not found in /media/disk/pear/p |
| #17345 | Closed | Bug | 0.5.1 | 2010-04-26 | Warning raised when Twitter has an internal error |
| #17421 | Closed | Req | 0.5.1 | 2010-05-20 | Update API method needs new args |
| #17486 | No Feedback | Bug | 0.6.1 | 2010-06-11 | simplexml_load_file() |
| #17499 | Closed | Req | 0.6.1 | 2010-06-17 | Update Services_Twitter API to reflect the new official documentation |
| #17501 | Wont fix | Req | 0.6.1 | 2010-06-17 | Exception subclasses so I can catch and suppress timeout errors |
| #17644 | Closed | Bug | 0.6.1 | 2010-07-30 | Adding/Removing list members |
| #17694 | Closed | Req | 0.6.2 | 2010-08-11 | Support for users/lookup, geo/search, and geo/id |
| #17845 | Closed | Doc | 0.6.2 | 2010-09-04 | Uncaught Unsupported endpoint updateStatus (code: 2) |
| #17872 | Open | Doc | 0.6.3 | 2010-09-17 | Search only returns status ids |
| #17979 | Open | Req | 0.6.3 | 2010-10-19 | Support for new 64-bit IDs |
| #18023 | Open | Req | 0.6.3 | 2010-11-01 | Output of assoc array instead of stdClass for JSON |
| #18061 | Analyzed | Req | 0.6.3 | 2010-11-16 | Solving SSL issues (ssl_verify_peer and ssl_verify_host) |
| #18233 | Closed | Req | 0.6.3 | 2011-02-03 | Support 'new Twitter' APIs |
| #18622 | Closed | Req | 0.6.3 | 2011-06-21 | New API reminder? |
| #19169 | Closed | Bug | SVN | 2011-12-29 | remove the broken and supurfluous AllTests.php |
| #19170 | Closed | Bug | SVN | 2011-12-29 | tests failing due to changes in HTTP_Request2 |
| #19360 | Open | Bug | 0.6.3 | 2012-03-29 | Missing parameter on API XML Map |
| #19686 | Closed | Bug | 0.6.3 | 2012-10-31 | Missing user_timeline parameters in API XML Map |
| #20009 | Closed | Bug | 0.6.3 | 2013-07-15 | Does not work since Twitter API 1.0 has been discontinued |