I need some help with clojure and oauth.
I got stuck at the last step: signing the request with the credentials.
(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)
Thats the example from github.
Now, from the flickr API I have this test-url:
http://api.flickr.com/services/rest/?method=flickr.people.getPhotos
&api_key=82d4d4ac421a5a22et4b49a04332c3ff
&user_id=93029506%40N07&format=json&nojsoncallback=1
&auth_token=72153452760816580-cd1e8e4ea15733c3
&api_sig=b775474e44e403a79ec2a58d771e2022
I dont use twitter... I use the flickr api and want to GET the pictures of a user.
My question is now: How do I have to change the credentials that it fits the flickr url?
I am also confused about the :status
but when I delete it I get an error...