My script is trying to rename a spreadsheet using the collaborator's credentials, not the doc owners. This works just fine doing it manually, but I can't seem to get it to work through the api.
Here's what I'm doing: Authenticating a session token to access spreadsheets and docs. Scope is passed as "http://docs.google.com/feeds/%20http:// spreadsheets.google.com/feeds/" Open 2 feeds $docService = new Zend_Gdata_Docs($client); $docFeed = $docService->getDocumentListFeed('http://docs.google.com/ feeds/documents/private/full/-/spreadsheet'); $spreadsheetService = new Zend_Gdata_Spreadsheets($client); //print_r($feed); exit; $feed = $spreadsheetService->getSpreadsheetFeed(); I loop through the feeds returned by $spreadsheetService and rename each one using $docService. I have to do this because the Spreadsheet feed doesn't include an edit url (and the Doc feed does). When I rename the feed via the docFeed, I get the exception "You must be authenticated for this operation." I don't understand how to get around this, since I authenticated via login with the collaborator credentials and have a valid session token. Any ideas? Thanks in advance, Chris --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Docs Data APIs" group. 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-Docs-Data-APIs?hl=en -~----------~----~----~----~------~----~------~--~---
