Hi Vic, Thank you for your responses.

>
> First, your token's scope is incorrect. 
>

I could not understand where and what exactly is incorrect.
As I wrote, I followed documentation in "Authorizing requests with 
OAuth 2.0"
 

>  The scope should be https://spreadsheets.google.com/feeds as documented 
> here:
>
> http://code.google.com/apis/spreadsheets/data/3.0/developers_guide.html#Auth
>

I could not understand the written below in documentation:

*Here's the OAuth 2.0 scope information for the Google Spreadsheets API: 
https://spreadsheets.google.com/feeds  
*

*To request access using OAuth 2.0, your application needs the scope 
information, as well as information that Google supplies during application 
registration (such as the client ID and/or the client secret).*


> Secondly, it doesn't matter if your application is a web application or 
> desktop application.  You just need to make the OAuth2 HTTP request to the 
> API.
>

Nevertheless OAuth 2.0 does not work in my example.*
*
https://accounts.google.com/o/oauth2/auth?scope=https://www.google.com/m8/feeds&client_id=400078234114.apps.googleusercontent.com&redirect_uri=http://localhost&response_type=code
My browser said  that "no connection with http://localhost";.
So I could not get the response with authorization token.
It requires the WEB server: local or remote.
But even if I use real server's URL, I got the error "OAuth 2.0: 
redirect_uri_mismatch"

*
*

>
> Which language are you using?  There are client libraries that can make 
> this simple for you.
>

I would like to use Java. I am novice in Java though.

You wrote in another thread:
>I'm sorry, but I'm having trouble understanding what you are trying to do.  

>Have you read our Java samples in the developer guide?
>
http://code.google.com/apis/spreadsheets/data/3.0/developers_guide.html#ListingSpreadsheets

I don't understand how to use it.
Where "import ..." operators in Java samples?
Where to get and  how to install Google API for Java?

I expected to find many  zip-ed complete Java sources,
including authentication, for each example

I expected to find more detailed explanations of how to use raw protocol in 
user's apps
It will be excellent if Google explain that with concrete spreadsheet.
I expected to find zip-ed examples of that in Java and other languages.

Thanks.

Reply via email to