Tell me more ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

I working on building an application to having our corporate server perform an HTTP post operation to add a row in a Google Doc's spreadsheet. I have created the spreadsheet already and now I want to do the automated insertions programatically.

Any of the newer language methods (e.g Java, .NET, PHP and Python) are not installed on the server so I am limited it my choice of build software. The corporate server does support sockets protocol, so I plan on writing the application in one of the systems native languages.

share|improve this question
Questions about APIs are generally off-topic here. – Al Everett Oct 8 '12 at 2:41

closed as off topic by Al Everett, Alex, Eight Days of Malaise, Sathya Oct 9 '12 at 11:15

Questions on Web Applications Stack Exchange are expected to relate to web applications within the scope defined in the FAQ. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about closed questions here.

1 Answer

When your application requests non-public user data, it must include an authorization token. The token also identifies your application to Google (source)

Unless you make your spreadsheet public, you'll need to authenticate.

Google Doc's API allows the use of OAuth 2.0, OAuth 1.0, AuthSub, or ClientLogin according to this documentation - although it does emphasis that OAuth 2.0 is the preferred method. ClientLogin is the probably the easiest to implement - and least preferred - so have a look at the various options and weigh up what will work for you.

share|improve this answer
How does this differ from using a FORM created in Google Docs? Is that application already "known" to Google so it does not need an OAuth token? – Dave Hanneman Aug 13 '12 at 16:05
Looks like forms might use a special "formkey" token - have a look at this post which might prove to be the answer you need. – John C Aug 13 '12 at 23:33

Not the answer you're looking for? Browse other questions tagged or ask your own question.