File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -24,10 +24,14 @@ Access the Twitter API from Clojure.
24
24
(def oauth-access-token
25
25
;; Look up an access token you've stored away after the user
26
26
;; 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)
28
30
29
31
;; 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
31
35
(twitter/update-status "posting from #clojure with #oauth"))
32
36
33
37
;; Find out who follows dons
You can’t perform that action at this time.
0 commit comments