Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge branch 'oauth-readme' of https://github.com/agimenez/bti into a…

…gimenez-oauth-readme

* 'oauth-readme' of https://github.com/agimenez/bti:
  Document how to configure OAuth.
  • Loading branch information...
commit 0e8c78df15289f19b3c03a6761d9ac8d3fabc965 2 parents d50f91b + f59e1eb
Greg Kroah-Hartman authored January 12, 2011

Showing 1 changed file with 23 additions and 0 deletions. Show diff stats Hide diff stats

  1. 23  README
23  README
@@ -17,3 +17,26 @@ bti is developed using git and the tree can be found at:
17 17
 	git://github.com/gregkh/bti.git
18 18
 and browsed at:
19 19
 	http://github.com/gregkh/bti/
  20
+
  21
+
  22
+About OAuth configuration
  23
+
  24
+If you want to use an OAuth-enabled service (like twitter), you should configure bti to use the
  25
+consumer key and secret shipped with the source code (check the oath.keys file).
  26
+
  27
+For example, you should add the following two lines to your ~/.bti configuration
  28
+file:
  29
+
  30
+---8<-------------------
  31
+# Consumer key
  32
+consumer_key=cZy8DdioswAfu3LJYg6E2w
  33
+
  34
+# Consumer secret
  35
+consumer_secret=fnIGGU0T12mMWKjmThUdSeKN32NLWfmnwapwubVQ
  36
+---8<-------------------
  37
+
  38
+The next time that you run bti, you will be told to visit an URL that will
  39
+provide you a PIN number. You should then input that number in the bti prompt,
  40
+and you will be given two new configuration values
  41
+(access_token_secret and access_token_key) that you need to add to your
  42
+bti configuration file to authenticate requests from bti.

0 notes on commit 0e8c78d

Please sign in to comment.
Something went wrong with that request. Please try again.