My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members
Featured
Downloads
Wiki pages
Links

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, Ubuntu and Debian. In fact, it works just fine on any operating system that supports cURL.

OAuth

twitcurl supports OAuth authorization methods. Check twitterClient example code in trunk section to know about twitcurl OAuth flow. Also, check wiki page for more info: http://code.google.com/p/twitcurl/wiki/TwitcurlOAuthFlow

APIs

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

Trends methods:
trends
trends/current
trends/daily
trends/weekly
trends/available

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.

Help needed?

See wiki section for more info on building and using twitCurl library. http://code.google.com/p/twitcurl/wiki/WikiHowToUseTwitcurlLibrary

Note:

Example:

An example twitter client program using twitcurl as a static library is available in the "Downloads" section.

Info:

Powered by Google Project Hosting