Skip to content Skip to sidebar Skip to footer

Is There A Way To Add A Row On A Google Spreadsheet Without Oauth Using Java?

I've searched a lot of websites about how to do that using only the spreadsheet key, but with no success. I can retrieve it, get all the data I want, but I can't append a new row t

Solution 1:

Answer is No. OAuth token is like a key which allows Google to identify who is reading or who is writing to the spreadsheet and it won't allow if you don't have the correct access level. Even when you open Google spreadsheet with your browser the browser will generate an OAuth token from the Google identity provider and use that token to check whether your access level.

Update Here if you see how my browser handle the request done to the google spread sheet it will first redirect to the identity provider. Most of the time you need to simulate that in order to work.

enter image description here

Solution 2:

There is no way you can access or manipulate Google Drive API without OAUTH2.0. Additionally, Google Drive API wouldn't even work on private networks.

Fortunately, OAUTH2.0 is mandatory!!

This is the OAUTH2.0 Java code for spreadsheet----->

  1. OAUTH2.0-Java

  2. Android oauth2.0

Post a Comment for "Is There A Way To Add A Row On A Google Spreadsheet Without Oauth Using Java?"