Appendix A. Twitter API Reference

This appendix includes a break down of all the Twitter API methods available as of this writing. It is to serve as a quick reference guide. The methods are in alphabetical order by their path name.

Note

All methods referenced in this appendix refer to version 1 of the API. As such, the root of all method paths is

http://api.twitter.com/1/

Account Methods

  • account/verify_credentials

  • account/rate_limit_status

  • account/end_session

  • account/update_delivery_device

  • account/update_profile_colors

  • account/update_profile_image

  • account/update_profile_background_image

  • account/update_profile

account/verify_credentials

Use to verify that the supplied credentials are valid.

Path

Output Formats

HTTP Methods

Authentication

Rate Limited

/account/verify_credentials

XML, JSON

GET

TRUE

FALSE

account/rate_limit_status

Returns the amount of remaining API requests available for the hour for the authenticated user. If you aren't authenticated, the rate limit for the current IP address is returned.

Path

Output Formats

HTTP Methods

Authentication

Rate Limited

/account/rate_limit_status

XML, JSON

GET

FALSE

FALSE

account/end_session

Ends the session for the current logged in user.

Path

Output Formats

HTTP Methods

Authentication

Rate Limited

/account/end_session

XML, JSON

GET

TRUE

FALSE

account/update_delivery_device

Updates the device that Twitter forwards tweets to.

Warning

As of this writing, IM is not supported.

Path

Output Formats

HTTP Methods

Authentication

Rate Limited

/account/update_delivery_device

XML, JSON

POST

TRUE

FALSE

Parameter ...

Get Twitter® Application Development for Dummies® now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.