duancenxie2233 2018-05-11 12:10
浏览 17
已采纳

如何通过PHP API管理我自己的Google日历中的活动

I want to create events in my own google Calendar through PHP API.

  1. Should I use Google Service Account for that ?
  2. I have followed google tutorials, and setup a service account , and created code to insert events into my calendar. The code is working fine, the events are not appearing on my calendar.
  3. It seems using service account, it's sending events to some other calendar belonging to the service account , but not to my own calendar.

Note: I have a web application, I just want to send some events in to my own google calendar ( not any other user's just my own single calendar).

  • 写回答

1条回答 默认 最新

  • dongyan6503 2018-05-14 09:03
    关注

    What I found so far is that using Service account is the right approach if you want to edit your own google calendar entries through API. But you need to give permissions to the service account for the calendar you wish to work on using google Calendar settings.

    To give permission to service account, you just need to add the service account email ID (auto generated , when creating a service account) on the google calendar settings page , under "permissions" section.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 关于#windows#的问题:怎么用WIN 11系统的电脑 克隆WIN NT3.51-4.0系统的硬盘
  • ¥15 matlab有关常微分方程的问题求解决
  • ¥15 perl MISA分析p3_in脚本出错
  • ¥15 k8s部署jupyterlab,jupyterlab保存不了文件
  • ¥15 ubuntu虚拟机打包apk错误
  • ¥199 rust编程架构设计的方案 有偿
  • ¥15 回答4f系统的像差计算
  • ¥15 java如何提取出pdf里的文字?
  • ¥100 求三轴之间相互配合画圆以及直线的算法
  • ¥100 c语言,请帮蒟蒻写一个题的范例作参考