Skip to content
Browse files

Merge pull request #12 from jpalmucci/master

not working for queries that change under url-encoding
  • Loading branch information...
2 parents 02c7af5 + 8dd3ce8 commit 7b137ffc57a279b3cdae902e31ed128ca90216b0 @mattrepl committed Jul 12, 2012
Showing with 1 addition and 8 deletions.
  1. +1 −8 src/twitter.clj
View
9 src/twitter.clj
@@ -69,21 +69,14 @@ take any required and optional arguments and call the associated Twitter method.
((first x#)
rest-map#)})
optional-query-param-names-mapping#)))
- need-to-url-encode# (if (= :get ~req-method)
- (into {}
- (map (fn [[k# v#]]
- [k#
- (oauth.signature/url-encode v#)])
- query-params#))
- query-params#)
oauth-creds# (when (and *oauth-consumer*
*oauth-access-token*)
(oauth/credentials *oauth-consumer*
*oauth-access-token*
*oauth-access-token-secret*
~req-method
req-uri#
- need-to-url-encode#))]
+ query-params#))]
(~handler (~(symbol "http" (name req-method))
req-uri#
:query (merge query-params#

0 comments on commit 7b137ff

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