Introduction:
twitcurl is a pure C++ library for twitter APIs. twitcurl uses cURL library for handling HTTP requests and responses. twitcurl has been tested on Microsoft Windows operating systems, although it works/should work fine on many other operating systems that has/support cURL.
Currently twitcurl has wrappers for following twitter REST APIs:
Timeline methods:
statuses/public_timeline
statuses/friends_timeline
statuses/user_timeline
statuses/mentions
Status methods:
statuses/show
statuses/update
statuses/destroy
User methods:
users/show
statuses/friends
statuses/followers
Direct Message methods:
direct_messages
direct_messages/sent
direct_messages/new
direct_messages/destroy
Friendship methods:
friendships/create
friendships/destroy
friendships/show
Social Graph methods:
friends/ids
followers/ids
Account methods:
account/rate_limit_status
Favorite methods:
favorites
favorites/create
favorites/destroy
Block methods:
blocks/create
blocks/destroy
Saved Search methods:
saved_searches
saved_searches/show
saved_searches/create
saved_searches/destroy
Source:
twitcurl library source (with Microsoft Visual C++ 6.0 workspace) is available in the repository in "Source" tab. Use SVN or tools like TortoiseSVN (http://tortoisesvn.net/) to check-out and download files. Makefile for Linux distributions in available in svn > branches > libtwitcurl branch in "Source" tab. Additionally, the same source in zip format named twitcurl.zip is available in "Downloads" section.
Help needed?
See wiki section of this project page for information related to building and using twitCurl library.
Note:
twitcurl returns the HTTP responses from twitter.com as it is (i.e. in XML format). You need to have an XML parser such as Xerces (http://xerces.apache.org/xerces-c/) to parse the responses.
Example:
An example twitter client program using twitcurl as a static library is available in the "Downloads" section.
Info:
More info on cURL can be found here: http://curl.haxx.se/
More info on twitter REST APIs can be found here: http://apiwiki.twitter.com/Twitter-API-Documentation