Thank you for your reply David! Are you sending the GData-Version: 3.0 header in your requests?
1. In the code I have this line (application for Symbian):
SetHeaderL(hdr, _L8("GData-Version"), _L8("3.0"));
2. I am logging headers and data that is sent/received (in HTTP API
callbacks) and I see that header "GData-Version: 3.0" is sent with each
transaction after first one (which is logging in and token request)
3. In the response headers I also see "GData-Version: 3.0"
Are you sure you're getting the #post link from the *list feed*? It seems
like you're getting it from the *worksheet feed*.
I am not sure I understand your question. Here are exact steps I am
performing (after authentication):
1. Send GET request to
"https://spreadsheets.google.com/feeds/spreadsheets/private/full"
2. Parse received response, which is:
<?xml version='1.0' encoding='UTF-8'?><feed
xmlns='http://www.w3.org/2005/Atom'
xmlns:openSearch='http://a9.com/-/spec/opensearch/1.1/'
xmlns:gd='http://schemas.google.com/g/2005'
gd:etag='W/"C0ECR3czeCt7ImA9WhZQEU4."'><id>https://spreadsheets.google.com/feeds/spreadsheets/private/full</id><updated>2011-04-18T13:01:06.980Z</updated><category
scheme='http://schemas.google.com/spreadsheets/2006'
term='http://schemas.google.com/spreadsheets/2006#spreadsheet'/><title>Available
Spreadsheets - greenexpe
[email protected]</title><link rel='alternate'
type='text/html' href='http://docs.google.com'/><link
rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml'
href='https://spreadsheets.google.com/feeds/spreadsheets/private/full'/><link
rel='self' type='application/atom+xml'
href='https://spreadsheets.google.com/feeds/spreadsheets/private/full'/><openSearch:totalResults>1</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><entry
gd:etag='"BUsPUw5eGit7I
mBr"'><id>https://spreadsheets.google.com/feeds/spreadsheets/tTpG7Ocn4nkWN9gfgm-2AOg</id><updated>2011-03-23T18:45:25.546Z</updated><category
scheme='http://schemas.google.com/spreadsheets/2006'
term='http://schemas.google.com/spreadsheets/2006#spreadsheet'/><title>GreenExpenses</title><content
type='application/atom+xml;type=feed'
src='https://spreadsheets.google.com/feeds/worksheets/tTpG7Ocn4nkWN9gfgm-2AOg/private/full'/><link
rel='http://schemas.google.com/spreadsheets/2006#tablesfeed' type='applica
tion/atom+xml'
href='https://spreadsheets.google.com/feeds/tTpG7Ocn4nkWN9gfgm-2AOg/tables'/><link
rel='alternate' type='text/html'
href='https://spreadsheets.google.com/ccc?key=0Ah2BmtOm32iTdFRwRzdPY240bmtXTjlnZmdtLTJBT2c'/><link
rel='self' type='application/atom+xml'
href='https://spreadsheets.google.com/feeds/spreadsheets/private/full/tTpG7Ocn4nkWN9gfgm-2AOg'/><author><name>greenexpense</name><email>[email protected]</email></author></entry></feed>
3. Use SpreadsheetKey found in previous response data to construct new URL
"https://spreadsheets.google.com/feeds/worksheets/*<SpreadsheetKey>*/private/full"
and send second GET request
4. Parse second response, which is "WorkSheetsList.xml" file attached to
this post:
<?xml version='1.0' encoding='UTF-8'?> <feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearch/1.1/' xmlns:gs='http://schemas.google.com/spreadsheets/2006' xmlns:gd='http://schemas.google.com/g/2005' gd:etag='W/"D04GRHs_fit7ImA9WhZTGU0."'> <id>https://spreadsheets.google.com/feeds/worksheets/tTpG7Ocn4nkWN9gfgm-2AOg/private/full</id> <updated>2011-03-23T18:45:25.546Z</updated> <category scheme='http://schemas.google.com/spreadsheets/2006' term='http://schemas.google.com/spreadsheets/2006#worksheet'/> <title>GreenExpenses</title> <link rel='alternate' type='text/html' href='https://spreadsheets.google.com/ccc?key=tTpG7Ocn4nkWN9gfgm-2AOg'/> <link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='https://spreadsheets.google.com/feeds/worksheets/tTpG7Ocn4nkWN9gfgm-2AOg/private/full'/> <link rel='http://schemas.google.com/g/2005#post' type='application/atom+xml' href='https://spreadsheets.google.com/feeds/worksheets/tTpG7Ocn4nkWN9gfgm-2AOg/private/full'/> <link rel='self' type='application/atom+xml' href='https://spreadsheets.google.com/feeds/worksheets/tTpG7Ocn4nkWN9gfgm-2AOg/private/full'/> <author> <name>greenexpense</name> <email>[email protected]</email> </author> <openSearch:totalResults>6</openSearch:totalResults> <openSearch:startIndex>1</openSearch:startIndex> <entry gd:etag='"EVgXVRYHRSt7ImBvHRI."'> <id>https://spreadsheets.google.com/feeds/worksheets/tTpG7Ocn4nkWN9gfgm-2AOg/od6</id> <updated>2011-03-23T18:45:25.546Z</updated> <app:edited xmlns:app='http://www.w3.org/2007/app'>2011-03-23T18:42:35.226Z</app:edited> <category scheme='http://schemas.google.com/spreadsheets/2006' term='http://schemas.google.com/spreadsheets/2006#worksheet'/> <title>Log</title> <content type='application/atom+xml;type=feed' src='https://spreadsheets.google.com/feeds/list/tTpG7Ocn4nkWN9gfgm-2AOg/od6/private/full'/> <link rel='http://schemas.google.com/spreadsheets/2006#cellsfeed' type='application/atom+xml' href='https://spreadsheets.google.com/feeds/cells/tTpG7Ocn4nkWN9gfgm-2AOg/od6/private/full'/> <link rel='http://schemas.google.com/visualization/2008#visualizationApi' type='application/atom+xml' href='https://spreadsheets.google.com/tq?key=tTpG7Ocn4nkWN9gfgm-2AOg&sheet=od6'/> <link rel='self' type='application/atom+xml' href='https://spreadsheets.google.com/feeds/worksheets/tTpG7Ocn4nkWN9gfgm-2AOg/private/full/od6'/> <link rel='edit' type='application/atom+xml' href='https://spreadsheets.google.com/feeds/worksheets/tTpG7Ocn4nkWN9gfgm-2AOg/private/full/od6'/> <gs:rowCount>100</gs:rowCount> <gs:colCount>20</gs:colCount> </entry> <entry gd:etag='"EVUMAwZXQSt7ImBvHRI."'> <id>https://spreadsheets.google.com/feeds/worksheets/tTpG7Ocn4nkWN9gfgm-2AOg/od7</id> <updated>2011-03-23T18:42:35.226Z</updated> <app:edited xmlns:app='http://www.w3.org/2007/app'>2011-03-23T18:42:35.226Z</app:edited> <category scheme='http://schemas.google.com/spreadsheets/2006' term='http://schemas.google.com/spreadsheets/2006#worksheet'/> <title>Methods</title> <content type='application/atom+xml;type=feed' src='https://spreadsheets.google.com/feeds/list/tTpG7Ocn4nkWN9gfgm-2AOg/od7/private/full'/> <link rel='http://schemas.google.com/spreadsheets/2006#cellsfeed' type='application/atom+xml' href='https://spreadsheets.google.com/feeds/cells/tTpG7Ocn4nkWN9gfgm-2AOg/od7/private/full'/> <link rel='http://schemas.google.com/visualization/2008#visualizationApi' type='application/atom+xml' href='https://spreadsheets.google.com/tq?key=tTpG7Ocn4nkWN9gfgm-2AOg&sheet=od7'/> <link rel='self' type='application/atom+xml' href='https://spreadsheets.google.com/feeds/worksheets/tTpG7Ocn4nkWN9gfgm-2AOg/private/full/od7'/> <link rel='edit' type='application/atom+xml' href='https://spreadsheets.google.com/feeds/worksheets/tTpG7Ocn4nkWN9gfgm-2AOg/private/full/od7'/> <gs:rowCount>100</gs:rowCount> <gs:colCount>20</gs:colCount> </entry> <entry gd:etag='"EVZPVUFCRSt7ImBvHRI."'> <id>https://spreadsheets.google.com/feeds/worksheets/tTpG7Ocn4nkWN9gfgm-2AOg/od4</id> <updated>2011-03-23T18:42:56.056Z</updated> <app:edited xmlns:app='http://www.w3.org/2007/app'>2011-03-23T18:42:56.056Z</app:edited> <category scheme='http://schemas.google.com/spreadsheets/2006' term='http://schemas.google.com/spreadsheets/2006#worksheet'/> <title>Categories</title> <content type='application/atom+xml;type=feed' src='https://spreadsheets.google.com/feeds/list/tTpG7Ocn4nkWN9gfgm-2AOg/od4/private/full'/> <link rel='http://schemas.google.com/spreadsheets/2006#cellsfeed' type='application/atom+xml' href='https://spreadsheets.google.com/feeds/cells/tTpG7Ocn4nkWN9gfgm-2AOg/od4/private/full'/> <link rel='http://schemas.google.com/visualization/2008#visualizationApi' type='application/atom+xml' href='https://spreadsheets.google.com/tq?key=tTpG7Ocn4nkWN9gfgm-2AOg&sheet=od4'/> <link rel='self' type='application/atom+xml' href='https://spreadsheets.google.com/feeds/worksheets/tTpG7Ocn4nkWN9gfgm-2AOg/private/full/od4'/> <link rel='edit' type='application/atom+xml' href='https://spreadsheets.google.com/feeds/worksheets/tTpG7Ocn4nkWN9gfgm-2AOg/private/full/od4'/> <gs:rowCount>100</gs:rowCount> <gs:colCount>20</gs:colCount> </entry> <entry gd:etag='"EVYFDRwEBit7ImBvHRI."'> <id>https://spreadsheets.google.com/feeds/worksheets/tTpG7Ocn4nkWN9gfgm-2AOg/od5</id> <updated>2011-03-23T18:43:47.348Z</updated> <app:edited xmlns:app='http://www.w3.org/2007/app'>2011-03-23T18:43:47.348Z</app:edited> <category scheme='http://schemas.google.com/spreadsheets/2006' term='http://schemas.google.com/spreadsheets/2006#worksheet'/> <title>Shops</title><content type='application/atom+xml;type=feed' src='https://spreadsheets.google.com/feeds/list/tTpG7Ocn4nkWN9gfgm-2AOg/od5/private/full'/> <link rel='http://schemas.google.com/spreadsheets/2006#cellsfeed' type='application/atom+xml' href='https://spreadsheets.google.com/feeds/cells/tTpG7Ocn4nkWN9gfgm-2AOg/od5/private/full'/> <link rel='http://schemas.google.com/visualization/2008#visualizationApi' type='application/atom+xml' href='https://spreadsheets.google.com/tq?key=tTpG7Ocn4nkWN9gfgm-2AOg&sheet=od5'/> <link rel='self' type='application/atom+xml' href='https://spreadsheets.google.com/feeds/worksheets/tTpG7Ocn4nkWN9gfgm-2AOg/private/full/od5'/> <link rel='edit' type='application/atom+xml' href='https://spreadsheets.google.com/feeds/worksheets/tTpG7Ocn4nkWN9gfgm-2AOg/private/full/od5'/> <gs:rowCount>100</gs:rowCount> <gs:colCount>20</gs:colCount> </entry> <entry gd:etag='"EVcZDRpTSSt7ImBvHRI."'> <id>https://spreadsheets.google.com/feeds/worksheets/tTpG7Ocn4nkWN9gfgm-2AOg/oda</id> <updated>2011-03-23T18:44:14.225Z</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-03-23T18:44:14.225Z</app:edited> <category scheme='http://schemas.google.com/spreadsheets/2006' term='http://schemas.google.com/spreadsheets/2006#worksheet'/> <title>Calls</title> <content type='application/atom+xml;type=feed' src='https://spreadsheets.google.com/feeds/list/tTpG7Ocn4nkWN9gfgm-2AOg/oda/private/full'/> <link rel='http://schemas.google.com/spreadsheets/2006#cellsfeed' type='application/atom+xml' href='https://spreadsheets.google.com/feeds/cells/tTpG7Ocn4nkWN9gfgm-2AOg/oda/private/full'/> <link rel='http://schemas.google.com/visualization/2008#visualizationApi' type='application/atom+xml' href='https://spreadsheets.google.com/tq?key=tTpG7Ocn4nkWN9gfgm-2AOg&sheet=oda'/> <link rel='self' type='application/atom+xml' href='https://spreadsheets.google.com/feeds/worksheets/tTpG7Ocn4nkWN9gfgm-2AOg/private/full/oda'/> <link rel='edit' type='application/atom+xml' href='https://spreadsheets.google.com/feeds/worksheets/tTpG7Ocn4nkWN9gfgm-2AOg/private/full/oda'/> <gs:rowCount>100</gs:rowCount><gs:colCount>20</gs:colCount> </entry> <entry gd:etag='"EVcNDkBTHit7ImBvHRI."'> <id>https://spreadsheets.google.com/feeds/worksheets/tTpG7Ocn4nkWN9gfgm-2AOg/odb</id> <updated>2011-03-23T18:44:34.221Z</updated> <app:edited xmlns:app='http://www.w3.org/2007/app'>2011-03-23T18:44:34.221Z</app:edited> <category scheme='http://schemas.google.com/spreadsheets/2006' term='http://schemas.google.com/spreadsheets/2006#worksheet'/> <title>SMSes</title> <content type='application/atom+xml;type=feed' src='https://spreadsheets.google.com/feeds/list/tTpG7Ocn4nkWN9gfgm-2AOg/odb/private/full'/> <link rel='http://schemas.google.com/spreadsheets/2006#cellsfeed' type='application/atom+xml' href='https://spreadsheets.google.com/feeds/cells/tTpG7Ocn4nkWN9gfgm-2AOg/odb/private/full'/> <link rel='http://schemas.google.com/visualization/2008#visualizationApi' type='application/atom+xml' href='https://spreadsheets.google.com/tq?key=tTpG7Ocn4nkWN9gfgm-2AOg&sheet=odb'/> <link rel='self' type='application/atom+xml' href='https://spreadsheets.google.com/feeds/worksheets/tTpG7Ocn4nkWN9gfgm-2AOg/private/full/odb'/> <link rel='edit' type='application/atom+xml' href='https://spreadsheets.google.com/feeds/worksheets/tTpG7Ocn4nkWN9gfgm-2AOg/private/full/odb'/> <gs:rowCount>100</gs:rowCount> <gs:colCount>20</gs:colCount> </entry> </feed>
