From 3a38abd0b95e9ee9ef433ae2000021211782ab9a Mon Sep 17 00:00:00 2001 From: Jeff Mitchell Date: Sun, 13 Feb 2011 14:20:17 -0500 Subject: [PATCH] Add twitter example file and update README --- README | 5 +++++ examples/twitter-api-keys.example | 9 +++++++++ 2 files changed, 14 insertions(+) create mode 100644 examples/twitter-api-keys.example diff --git a/README b/README index 10cf07700..67376dae7 100644 --- a/README +++ b/README @@ -94,6 +94,11 @@ Dependencies To build the app: ----------------- + + For SIP-over-Twitter support, you must first register an application with Twitter and copy the file + examples/twitter-api-keys.example to thirdparty/qtweetlib/WARNING-twitter-api-keys, substituting in + your particular consumer key and secret. + $ mkdir build && cd build Pick one of the following two choices. If uncertain pick the second one, you probably want a GUI. diff --git a/examples/twitter-api-keys.example b/examples/twitter-api-keys.example new file mode 100644 index 000000000..5fa0abee7 --- /dev/null +++ b/examples/twitter-api-keys.example @@ -0,0 +1,9 @@ +set_property( + TARGET tomahawk_qtweetlib + APPEND PROPERTY COMPILE_DEFINITIONS CONSUMER_KEY="aaaaaaaaaaaaaaa" +) + +set_property( + TARGET tomahawk_qtweetlib + APPEND PROPERTY COMPILE_DEFINITIONS CONSUMER_SECRET="bbbbbbbbbbbbbbbbb" +)