twitcurl
twitcurl is a pure C++ library for twitter APIs. twitcurl uses cURL for handling HTTPS requests and responses & OAuth authentication methods.
- v1.1 Twitter REST APIs
- JSON
- SSL
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
blocks/list
blocks/ids
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
Notes
- twitcurl returns JSON responses from twitter.com as it is. You need to have a JSON parser to parse the responses.
- twitcurl uses HMAC_SHA1 from http://www.codeproject.com/KB/recipes/HMACSHA1class.aspx
- twitcurl uses base64 from http://www.adp-gmbh.ch/cpp/common/base64.html *Check out http://www.json.org/ for C/C++ parsers.