Subject: | Better docs for flickr.auth_token |
Please find below some notes from my time trying to figure out what the
flickr.auth_token meant. It would be great if these could be added to
the POD in some way.
============================== Steps ==================================
1. Create a new App
Now you have an API key and an API secret
-----------------------------------------------------------------------
2. Set up the App with an arbitrary callback URL
2.1 Go to your profile page's sharing page
(http://www.flickr.com/account/sharing/)
2.2 Click on your API key link to go to your App's page
2.3 Click through to your Backup app
2.4 On the right in the "admin" section go to "edit authentication flow"
2.5 Add any old URL
-----------------------------------------------------------------------
3. Authorize the App
3.1 Create config.ini with a block [flickr] that contains api_key and
api_secret
3.2 Run ./get_auth_token.pl
3.3 Visit the URL and authorize the App by following the instructions
3.4 Get the 'frob' parameter's value from the callback URL you end up at
-----------------------------------------------------------------------
4. Get an auth_token
4.1 Visit the Flickr API Explorer for flickr.auth.getToken
(http://www.flickr.com/services/api/explore/flickr.auth.getToken)
4.2 Add the frob from 3.4 above and submit the form with the 'Call
Method...' button
4.3 Copy the value between the <token> tags into the config.ini as
flickr.auth_token
-----------------------------------------------------------------------
5. Set up the rest of your config.ini
Follow the instructions from the Net::Flickr::Backup POD
NOTE - the default of 'fetch_original=true' will fail if you do not have
a
Flickr Pro account, as Flickr does not give you access to your original
photos
unless you have a Pro account.
-----------------------------------------------------------------------
6. Run ./do_backup.pl
=======================================================================