Hi there!

I am trying to write a FileUploader for django which will act as a proxy 
for picasa.
I've read and tried everything I've found in the docs, but it's still not 
clear to me which flow I should follow.

- Do I need a service account?
My web application should never ask the users for login/authorization; it 
should be transparent. The application should be able to login itself and 
upload contents to Picasa without any interaction from the user.

- Is there any requirements for using the ResumableUploader?
For the tests I've been logging in programmatically, but I get an error 
while starting the upload session:

album_url = 
'http://picasaweb.google.com/data/upload/resumable/photos/create-session/feed/api/user/calabazas.cs/albumid/5726219637594683841'
self.uploader._InitSession(album_url, headers={'Slug': 'TEST'})

Traceback (most recent call last):
  File "picasa.py", line 103, in <module>
    up.run('title', 'description', imgsize, 'image/png')
  File "picasa.py", line 82, in run
    self.uploader._InitSession(album_url, headers={'Slug': 'TEST'})
  File "build/bdist.macosx-10.6-intel/egg/gdata/client.py", line 993, in 
_init_session
  File "build/bdist.macosx-10.6-intel/egg/atom/__init__.py", line 93, in 
optional_warn_function
    
TypeError: request() got an unexpected keyword argument 'http_request'

Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Google Picasa Web Albums API" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-picasa-data-api/-/44WN7mWegMsJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-picasa-data-api?hl=en.

Reply via email to