Skip to content

A mini C library for interacting with the Twitter OAuth api.

License

MIT, GPL-3.0 licenses found

Licenses found

MIT
LICENSE
GPL-3.0
COPYING
Notifications You must be signed in to change notification settings

sinemetu1/twitc

Repository files navigation

twitc

Build Status Coverage Status

A mini C library for interacting with the Twitter OAuth api.

Installation:

# if deps need to be installed:
./install_deps.sh /usr/local

# building twitc
./autogen.sh
./configure
make
make install

NOTE: There are environment variables that can be set for consumer token, consumer secret, app token, and app secret. See twitc.h and the usage section below.

Dependencies:

liboauth

json-c

Usage:

See main.c for an example.

Environment variables include:

export TWITC_KEY="Consumer Key (API Key)"
export TWITC_SECRET="Consumer Secret (API Secret)"
export TWITC_ACCESS_TOKEN="Access Token"
export TWITC_ACCESS_SECRET="Access Token Secret"

To generate these values go to https://apps.twitter.com/.

Tests:

Local tests can be run with make check.

If you have the environment variables above setup correctly then you can run make integration to test actual integration with Twitter's API.

Bugs:

Please file bugs in Github issues.

License:

MIT

About

A mini C library for interacting with the Twitter OAuth api.

Resources

License

MIT, GPL-3.0 licenses found

Licenses found

MIT
LICENSE
GPL-3.0
COPYING

Stars

Watchers

Forks

Packages

No packages published