Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to retreive public spreadsheet #199

Open
PYDeret opened this issue May 18, 2020 · 0 comments
Open

Unable to retreive public spreadsheet #199

PYDeret opened this issue May 18, 2020 · 0 comments

Comments

@PYDeret
Copy link

PYDeret commented May 18, 2020

As the exemple says, you're not required to authentify to retreive public spread sheets, just need the public id.

$serviceRequest = new DefaultServiceRequest("");
ServiceRequestFactory::setInstance($serviceRequest);

$spreadsheetService = new Google\Spreadsheet\SpreadsheetService();
$worksheetFeed = $spreadsheetService->getPublicSpreadsheet("spreadsheet-id");

But I'm getting the Access token is invalid error.

Maybe I've done something wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant