Skip to content

Commit 123947b

Browse files
author
Matt Revelle
committed
updated documentation to include use of access token secret for oauth
1 parent 7e6d0dd commit 123947b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.markdown

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,14 @@ Access the Twitter API from Clojure.
2424
(def oauth-access-token
2525
;; Look up an access token you've stored away after the user
2626
;; authorized a request token and you traded it in for an
27-
;; access token. See clj-oauth (http://github.com/mattrepl/clj-oauth) for an example.
27+
;; access token. See clj-oauth (http://github.com/mattrepl/clj-oauth) for an example.)
28+
(def oauth-access-token-secret
29+
;; The secret included with the access token)
2830

2931
;; Post to twitter
30-
(twitter/with-oauth oauth-consumer oauth-access-token
32+
(twitter/with-oauth oauth-consumer
33+
oauth-access-token
34+
oauth-access-token-secret
3135
(twitter/update-status "posting from #clojure with #oauth"))
3236

3337
;; Find out who follows dons

0 commit comments

Comments
 (0)