2f03961198
Flickcurl is a C library (and utility) for the Flickr API, handling creating the requests, signing, token management, calling the API, marshalling request parameters and decoding responses. It also includes a program flickrdf to turn photo metadata, tags, machine tags and places into an RDF triples description. rather loosely based on a submission by edd barret (MAINTAINER)
27 lines
733 B
Plaintext
27 lines
733 B
Plaintext
$OpenBSD: README.OpenBSD,v 1.1.1.1 2008/12/11 22:35:42 jasper Exp $
|
|
|
|
You will need to have a ~/.flickcurl.conf .
|
|
|
|
1. Get an API key if you don't already have one.
|
|
|
|
Go to http://www.flickr.com/services/api/keys/ and obtain a "mobile" app
|
|
key You will be give an "api key", "shared secret" and an
|
|
authentication URL.
|
|
|
|
2. Create a ~/.flickcurl.conf file. For example:
|
|
|
|
[flickr]
|
|
api_key=<your api key>
|
|
secret=<your shared secret>
|
|
|
|
3. Get a frob
|
|
Visit your authentication url in a web browser to get a "frob".
|
|
|
|
4. Exchange the frob for an authentication token
|
|
|
|
flickcurl -a <your frob>
|
|
|
|
flickcurl will save the token in yor config file. Don't be fooled by
|
|
'Try `flickcurl --help' for more information.'. Unless you see errors,
|
|
it worked.
|