Skip to content

Installation

patrickjennings edited this page May 18, 2011 · 25 revisions

Dependencies

Installation

$ cd FlickrFS/src/ $ make

The FlickrFS binary may be created by using the Makefile located in the src directory. The user may add the directory to their PATH environment variable or copy the binary to any directory already located in PATH (such as /usr/bin, or /usr/local/bin, etc.) 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:

$ nano ~/.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 fed into 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