Giter Club home page Giter Club logo

flickr-cli's People

Contributors

janosgyerik avatar jmahmood avatar jstarcher avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

flickr-cli's Issues

flickrapi.exceptions.FlickrError: Error: 108: Invalid frob

I was playing with this script on OSX and was having an issue where the script would fail due to an Invalid Token or Frob before I could press authorize in the browser. It's actually an issue with flickerapi but I figured I'd put an issue here to make people aware.

Here is the code change I made to fix it:

--- __init__.py 2013-05-26 22:46:36.000000000 -0400
+++ /Library/Python/2.7/site-packages/flickrapi/__init__.py 2013-05-26 22:43:42.000000000 -0400
@@ -653,6 +653,7 @@
             browser = webbrowser.GenericBrowser(os.environ['BROWSER'])

         browser.open(auth_url, True, True)
+        ans = raw_input("Have you authenticated this application? (Y/N): ")

     def get_token_part_one(self, perms="read", auth_callback=None):
         """Get a token either from the cache, or make a new one from

Invalid file type

Currently this script will upload any file type which is returned by imghdr.what() but that does not necessarily mean that Flickr supports it. According to http://www.flickr.com/help/photos/ Flickr only officially supports JPEG, GIFs, and PNGs. The script broke when it tried to upload an SRW file because imghdr.what() said it was a TIFF but the file type was rejected by Flickr.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.