jpillora / node-edit-google-spreadsheet

A simple API for editing Google Spreadsheets
304 stars 101 forks source link

OAuth Help #91

Open andrew-w0711 opened 8 years ago

andrew-w0711 commented 8 years ago

Hi

This is great library for reading and writing data to Google Spreasheet, I think

I have one problem I ignored auth part and tried to run the script but it showed error and I should use oauth

But I am not very good at google oauth

Could you give me hint how to use that ( I am foooocusing on oauth2) http://prntscr.com/aphqy8

Thanks

andrew-w0711 commented 8 years ago

How to get refresh_token?

Is it required field in oauth2 ?

d3z41k commented 8 years ago

Use this file for generate refresh_token https://github.com/jpillora/node-edit-google-spreadsheet/blob/master/get_oauth2_permissions.js