-
Notifications
You must be signed in to change notification settings - Fork 7
Installation
$ cd FlickrFS/src/ $ make $ sudo cp flickrfs /usr/local/bin/
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.
The Flickcurl library must be configured in order for the file system application to properly function. First, the user must create a configuration file in their home directory with the following details:
$ nano ~/.flickcurl.conf
Copy the following three lines into ~/.flickcurl.conf: [flickr] api_key=2e66493ec959256a79e4e5a3da7df729 secret=c1b99d47790391c3
Then the user must go to the following webpage:
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 in order link the user's account to the interface. To do this, execute:
$ flickcurl -a 123-456-789 # Change to the 9-digit FROB given
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. FlickrFS is now read to use!