title: clojure oauth and credentials
body: <p>I need some help with <a href="https://github.com/mattrepl/clj-oauth" rel="nofollow">clojure and oauth</a>.</p>
  
  <p>I got stuck at the last step: signing the request with the credentials.</p>
  
  <pre><code>(def credentials (oauth/credentials consumer
                                      (:oauth_token access-token-response)
                                      (:oauth_token_secret access-token-response)
                                      :POST
                                      "http://twitter.com/statuses/update.json"
                                      {:status "posting from #clojure with #oauth"}))
  
  (http/put "http://twitter.com/statuses/update.json" 
             :query-params credentials)
  </code></pre>
  
  <p>Thats the example from github.</p>
  
  <p>Now, from the flickr API I have this test-url:</p>
  
  <pre><code>http://api.flickr.com/services/rest/?method=flickr.people.getPhotos
  &amp;api_key=82d4d4ac421a5a22et4b49a04332c3ff
  &amp;user_id=93029506%40N07&amp;format=json&amp;nojsoncallback=1
  &amp;auth_token=72153452760816580-cd1e8e4ea15733c3
  &amp;api_sig=b775474e44e403a79ec2a58d771e2022
  </code></pre>
  
  <p>I dont use twitter... I use the flickr api and want to GET the pictures of a user.</p>
  
  <p>My question is now: How do I have to change the credentials that it fits the flickr url?
  I am also confused about the <code>:status</code> but when I delete it I get an error...</p>