The request will 404 until the "person with the link" opens the spreadsheet
at least once, so that it gets added to their doclist.

-Vic



On Tue, Jun 28, 2011 at 10:48 PM, Vahan Hartooni <hartooniva...@gmail.com>wrote:

> Hi James,
>
> Well I tried this and yet all I receive is this message: "The spreadsheet
> at this URL could not be found. Make sure that you have the right URL and
> that the owner of the spreadsheet hasn't deleted it."
>
> I have the same privacy settings as yours. What can I be doing in order to
> get this error?
>
> -Vahan
>
>
> On Wednesday, June 1, 2011 9:45:34 AM UTC-7, James Moore wrote:
>>
>> I posted some sample Java code for something similar on my 
>> blog<http://blog.restphone.com/2011/05/very-simple-google-spreadsheet-code.html>-
>>  here's the useful part:
>>
>>
>>       String urlString = 
>> "https://spreadsheets.google.**com/feeds/list/**0AsaDhyyXNaFSdDJ2VUxtVGVWN1Yza**1loU1RPVVU3OFE/default/public/**values
>>  
>> <https://spreadsheets.google.com/feeds/list/0AsaDhyyXNaFSdDJ2VUxtVGVWN1Yza1loU1RPVVU3OFE/default/public/values>";
>>
>>       // turn the string into a URL
>>       URL url = new URL(urlString);
>>
>>       // You could substitute a cell feed here in place of
>>       // the list feed
>>       ListFeed feed = service.getFeed(url, ListFeed.class);
>>
>>

Reply via email to