问题
i just changed the developerKey and clientId. upon testing, a popup showed to choose which google account should i use. after that, it showed a popup again for me to allow my application to access the drive. after clicking the allow button. nothing happened. popup closed. no message in console.
here is the link https://developers.google.com/picker/docs/#hiworld
回答1:
You also need to enable Google Picker API on your project:
- Go to https://console.cloud.google.com/apis/dashboard?project=YOUR-PROJECT-NAME
- Click on "ENABLE APIS AND SERVICES"
- Search for "Google Picker API"
- Click "ENABLE"
Now it should open the Google Picker correctly.
I hope it's clear!
来源:https://stackoverflow.com/questions/53844104/why-is-google-picker-hello-world-not-working