Hi All,
I am trying to access GData Blogger API on App Engine.
Though ProgrammaticLogin() was successful, subsequent GetBlogFeed()
fails throwing the following error:
File "C:\xxx\src\gdata\blogger\service.py", line 40, in GetBlogFeed
return self.Get(uri, converter=gdata.blogger.BlogFeedFromString)
File "C:\xxx\src\gdata\service.py", line 703, in Get
'reason': server_response.reason, 'body': result_body}
RequestError: {'status': 401, 'body': 'Must authenticate to use
'default' user', 'reason': ''}
I am using gdata-py 1.2.1 and latest version of app engine sdk on
Windows Vista.
I have verified the email/password on blogger and everything works
fine. Even the ProgrammaticLogin() call was successful.
Here is the source code snippet:
---
gdataService = gdata.blogger.service.BloggerService()
gdata.alt.appengine.run_on_appengine(gdataService)
gdataService.email = 'email'
gdataService.password = 'password'
gdataService.source = 'SA01-PApp-1.0'
gdataService.service = 'blogger'
gdataService.account_type = 'GOOGLE'
gdataService.server = '
www.blogger.com'
gdataService.ProgrammaticLogin()
feed = gdataService.GetBlogFeed()
--
Has anybody tried to use blogger API on App engine and experience
similar problems?
Any help or pointers would be greatly appreciated.
Thank you so much,
Murali