Comments (3)
An update:
It seems that adding a `print urlopen(url, payload)` returns:
<addinfourl at 43340936 whose fp = <socket._fileobject object at 0x29400d0>>
Doing a urlopen(url, payload).read() returns HTML which is hard to read in a
terminal but I managed to make out a 'You are not signed in.'
I'm signed in to Flickr (in the browser) and the program is properly
authenticated with delete permissions (dangerous, but I wanted to avoid
permission problems.)
Original comment by [email protected]
on 8 Sep 2010 at 3:11
from flickrpy.
Fix:
Replacing the current `url` and `payload` variables with the following works.
It seems that API_KEY and method (or one of the two, didn't test which one)
need to be in the url, not payload. I'll test if only one needed to be in the
url before committing the fix.
url = '%s%s/?api_key=%s&method=%s&%s'% \
(HOST, API, API_KEY, method, _get_auth_url_suffix(method, auth, params))
payload = '%s' % (urlencode(params))
Original comment by [email protected]
on 8 Sep 2010 at 3:23
- Changed state: Started
from flickrpy.
Original comment by [email protected]
on 10 Sep 2010 at 12:24
- Changed state: Fixed
from flickrpy.
Related Issues (20)
- implement image replace
- tag_mode does not work for photos_search HOT 2
- new Auth issues HOT 8
- Photopage URL property for Photo instance HOT 1
- Simple usage documentation HOT 3
- Get server farm HOT 1
- Exception raised if no photo at all
- Flickr.py does not work with python2.6 HOT 3
- Add getAllContexts method (patch included) HOT 3
- photos.addTags() failed in _dopost() HOT 3
- cannot access private photos, even when authorized HOT 3
- Fix crash in 1-photo photosets HOT 2
- Proposed patch implementing flickr.photos.getExif HOT 2
- reduce server traffic patch HOT 3
- i need support for geospatial searches for photos HOT 1
- Add 'number of views' property to Photo HOT 3
- Add 'number of favorite' and 'users who faved' property to Photo HOT 3
- Retrieve user location of photo HOT 4
- photos_search_pages does not use tag_mode HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flickrpy.