cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Upload to Flickr using plain cURL

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Tue, 2 Sep 2014 23:05:41 +0200

On Tue, Sep 02, 2014 at 08:29:40PM +0100, j3v wrote:
> Hello.
> I am a noob trying to upload photos to Flickr using plain cURL.
> I have been looking at their API (https://www.flickr.com/services/api/
> auth.howto.desktop.html) and I have read a couple of forum topics on the
> subject here and here.
> Could someone please put me on the right track?

That page points to another that says that that authentication method is
deprecated in favour of OAuth. curl has some built-in support for OAuth2 but I
don't know if it's applicable to OAuth1 which appears to be all Flickr
supports. In any case, there's no problem in using OAuth over HTTP with curl
and there are plenty of resources describing how to do it. The tricky part is
not the curl part but rather the OAuth part.

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-09-02