Issue Type: Bug Created: 2010-05-27T15:01:54.000+0000 Last Updated: 2012-05-29T18:41:48.000+0000 Status: Closed Fix version(s): Reporter: Piers Harding (piersharding) Assignee: Adam Lundrigan (adamlundrigan) Tags: - Zend_Gdata
Related issues: Attachments:
When using OAuth authentication with Google Fusion tables, I get a failure on the final call to access the service with an authenticated access token. code example: http://pastebin.com/afHs0DYP Fails here with a "404 Not Found": $url = "http://tables.googlelabs.com/api/query?sql=show%20tables"; $data = $gdata->get($url);
If I use the exact same code to obtain an access token, to then call another service such as the google docs document feed scope=http://docs.google.com/feeds/, then it works. code example: http://pastebin.com/g2pVer3q
The bit that really gets me about this, is that the authentication appears to happen correctly - just the same as for the Google Docs example - but the actual Gdata call returns a 404. What I find even more puzzling is that if I swap the authentication mechanism for ClientLogin, then the call works eg: http://tables.googlelabs.com/api/query/… .
I've tried reporting this to the google fusion tables user group here - http://groups.google.com/group/… , but have not had any success, and it certainly does not help diagnose the problem just receiving a 404 Not Found.
It maybe that there is a problem with the way Zend/Oauth is formulating the Authorization header, that is incompatible with the Google Fusion tables service.
Any help with determining where the problem lies is gratefully appreciated.
Cheers, Piers Harding.
Posted by Adam Lundrigan (adamlundrigan) on 2012-05-29T18:41:48.000+0000
Zend_Gdata can only be used with Google services that use AuthSub/Google Data API. Unfortunately, FusionTables is not a GData service, but uses OAuth for authentication.
Have you found an issue?
See the Overview section for more details.