Skip to content

Latest commit

 

History

History
99 lines (82 loc) · 4.96 KB

README.md

File metadata and controls

99 lines (82 loc) · 4.96 KB

shiny-bear

multi-platform twitter API library written in C. Based on twicpps.

add your keys

You must add your OAuth keys to your source.

	char const *c_key = "your consumer key";
	char const *c_sec = "your consuer secret";
	char const *t_key = "your token key";
	char const *t_sec = "your token secret";
	bear_init(c_key, c_sec, t_key, t_sec);

c_key/sec is consumer_key/secret, t_key/sec is token_key/secret.

compile

Before compilation, you need gcc, make, liboauth and libcurl.

$ make

That's all.

APIs

Currently this library has wrappers for following twitter REST APIs:

Timelines

Tweets

Search

Streaming

Direct Messages

Friends & Followers

Users