Permalink
Browse files

added changelog

  • Loading branch information...
1 parent 2425744 commit f69ef650bb86d458af73b4a2d8b7a5bf17172a7d @dg committed Mar 14, 2013
Showing with 35 additions and 10 deletions.
  1. +35 −10 readme.md
View
@@ -1,16 +1,10 @@
-Twitter for PHP (c) David Grudl, 2008 (http://davidgrudl.com)
-
-
-Introduction
-------------
+[Twitter for PHP](http://phpfashion.com/twitter-for-php)
+================================
Twitter for PHP is a very small and easy-to-use library for sending
messages to Twitter and receiving status updates.
-
-Project at GitHub: http://github.com/dg/twitter-php
-Twitter's API documentation: http://dev.twitter.com/doc
-My PHP blog: http://phpfashion.com
+ Note: Twitter announced deprecation of API 1.0 since March 2013. Update to the last version of this library.
Requirements
@@ -21,7 +15,6 @@ Requirements
Usage
-----
-
Sign in to the http://twitter.com and register an application from the http://dev.twitter.com/apps page. Remember
to never reveal your consumer secrets. Click on My Access Token link from the sidebar and retrieve your own access
token. Now you have consumer key, consumer secret, access token and access token secret.
@@ -72,3 +65,35 @@ The returned result is a PHP array:
echo "posted at " , $status->created_at;
echo "posted by " , $status->user->name;
}
+
+
+Changelog
+---------
+v3.1 (3/2013)
+- Twitter::load() - added third argument $data
+- Twitter::clickable() uses entities; pass as parameter status object, not just text
+- added Twitter::$httpOptions for custom cURL configuration
+
+v3.0 (12/2012)
+- updated to Twitter API 1.1. Some stuff deprecated by Twitter was removed:
+ - removed RSS, ATOM and XML support
+ - removed Twitter::ALL
+ - Twitter::load() - removed third argument $page
+ - Twitter::search() requires authentication and returns different structure
+- removed shortening URL using http://is.gd
+- changed order of Twitter::request() arguments to $resource, $method, $data
+
+v2.0 (8/2012)
+- added support for OAuth authentication protocol
+- added Twitter::clickable() which makes links, @usernames and #hashtags clickable
+- installable via `composer require dg/twitter-php`
+
+v1.0 (7/2008)
+- initial release
+
+
+-----
+Project at GitHub: http://github.com/dg/twitter-php
+Twitter's API documentation: http://dev.twitter.com/doc
+
+(c) David Grudl, 2008, 2013 (http://davidgrudl.com)

0 comments on commit f69ef65

Please sign in to comment.