|
[text/plain 720b]
This may be something to highlight in the documentation...
You're generating the authentication token against your own key and
secret:
> $ flickr_upload --auth --key <api key> --secret <api secret>
But you're uploading using the Flickr::Upload key and secret:
> $ flickr_upload --auth_token <token> screenshot_03.png
The authentication token is only valid against a specific app/secret
combination.
So you either need the --key and --secret options on the upload itself,
as well, or if you're lazy like me you'll put it all into a .flickrrc
file:
cat >>~/.flickrrc
key=<api key>
secret=<api secret>
auth_token=<token>
^D
At which point, you should be able to just do:
flickr_upload screenshot_03.png
|