Skip to content
This repository has been archived by the owner on Dec 4, 2018. It is now read-only.

Twitter async 2.0 Release Notes

jmathai edited this page Sep 13, 2010 · 4 revisions

Overview

The 2.0 release is a milestone that addresses numerous issues raised over the past few months. After seeing how the library was being used and where most people seemed to have trouble getting up to speed, I decided to make changes to benefit the general use case. All previous functionality is still available, though may no longer be the default behavior. See the Changes section for full details before upgrading.

Changes

  1. Added a new (preferred) API
    You can now use get, post, delete, get_basic, post_basic and delete_basic. Details here
  2. No longer asynchronous by default
    Most people were using it synchronously and didn’t understand why you had to access a response parameter to ensure the call completed. useAsynchronous(true) should be used if you want to use it that way or hard code the default value in EpiTwitter.php
  3. Revamped the exceptions
    Details on the new exception hierarchy
  4. Added support for versioned URLs
  5. Exposed response headers
    Details on how to access response headers
  6. Exception::getMessage() returns the response as raw text and not an array of messages
    (even if debug is set to on)
  7. Fixed lots and lots of bugs
Clone this wiki locally