Skip to content

Installation

Sycadellicman edited this page Jan 11, 2011 · 25 revisions

Dependencies

The file system uses two libraries in order to function properly.

  • FUSE Library
  • Flickcurl Library >= 1.20

Installation

$ make

The FlickrFS binary may be compiled easily with the make command. The user may add the directory to their PATH environment variable in order to execute the application in any working directory.

Configuration

The Flickcurl library must be configured in order for the file system application to properly function. First, the user must place a configuration file with the following details:

$ cat ~/.flickcurl.conf
[flickr]
api_key=2e66493ec959256a79e4e5a3da7df729
secret=c1b99d47790391c3

Then the user must go to the following webpage:

http://www.flickr.com/services/auth/?mobile=1&api_key=2e66493ec959256a79e4e5a3da7df729&perms=delete&api_sig=6417abca6880d676c010600e8c65a045

and select:

[OK, I'LL AUTHORIZE IT]

This will allow the user the ability to link their Flickr account with FlickrFS. The user will be given a 9-digit FROB that can be given to the flickcurl api to link the user's account to the interface. Finally, execute:

$ flickcurl -a 123-456-789

where 123-456-789 is the 9-digit FROB given to the user above. This will finish the linking of the user's account with the flickcurl API and library and the user should then see the following format in their configuration file:

$ cat ~/.flickcurl.conf
[flickr]
auth_token=-------
api_key=2e66493ec959256a79e4e5a3da7df729
secret=c1b99d47790391c3

The user may test the flickcurl API by executing:

$ flickcurl photos.getInfo 1234567

flickcurl: Found photo with URI http://www.flickr.com/photos/yogi/1234567/ ID 1234567 and 1 tags
...

This concludes the configuration of the Flickcurl library.

Clone this wiki locally