Instead of going with the user based OAuth flow, I added a service account for my app and more or less did the implementation like so: https://developers.google.com/api-client-library/php/auth/service-accounts
Seems to work for now. Am Mittwoch, 22. Februar 2017 15:31:13 UTC+1 schrieb Michael Schröder: > > Hello, > > The task at hand is to build an app with PHP that will use a Google > spreadsheet to retrieve certain data like product prices. The spreadsheet > will be non-public and is thought of as an easy way for the client to add > and update product infos. > > However, the API docs say that when accessing private spreadsheets, the > OAuth flow needs to be implemented. So how could this app ever be used by > the public? The only way I see it happen is to save and refresh the auth > token, but I am not sure if this is the way it was meant to be. > > So maybe public app/website and private spreadsheet doesn't go together? > > Thanks for any insight, > > Michael > -- You received this message because you are subscribed to the Google Groups "Google Spreadsheets API" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
