O'Reilly logo

Groovy for Domain-specific Languages - Second Edition by Fergal Dearle

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Working with the Twitter APIs

Twitter provides APIs that cover the whole gamut of operations that we might like to invoke for interacting with the service. Through the APIs, we can update our status, send direct messages to other users, list our friends and followers, and search for tweets by keyword, among many other useful features.

Twitter APIs are all pure HTTP-based requests. Any method that just retrieves data such as a search operation is implemented by using an HTTP GET request, whereas any method that updates, deletes, or creates, an object is implemented by using an HTTP POST request. Most of the APIs conform to REST design principals and support XML and JSON data formats, RSS, and Atom Syndication Formats.

Note

We can interact with the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required