Google Calendar Service Account with PHP API oauth2.0 - How to access calendars that are not shared

后端 未结 2 1308
轻奢々
轻奢々 2021-01-25 21:33

I\'m having trouble reading calendar events with the PHP libraries provided by Google. The calendars that I want to read are NOT publicly shared, but I want to read them on my s

2条回答
  •  天涯浪人
    2021-01-25 21:50

    Thanks for your suggestion.

    It turns out the problem was that the person in charge of the API account did not to share the calendars with the developer account's server account e-mail.

    Since I didn't have access to the API account settings and the error from Google Calendar API was not very descriptive it took a while to figure out.

提交回复
热议问题