Google Calendar PHP API Not Sending Invite Emails

前端 未结 1 1521
囚心锁ツ
囚心锁ツ 2021-01-21 12:08

I have successfully integrated with Google Calendar using PHP with a Service Account.

What I can do:

  • Update the calendar event.
  • A
相关标签:
1条回答
  • 2021-01-21 13:08

    Late to the party but since there are no answers...

    I've just been having this exact same problem. Few things:

    • sendNotifications is deprecated, you should be using sendUpdates instead.
    • The optional Params don't go on the event itself - they go in the request. So you end up with:
    $event = $service->events->patch(
        $calendarID, 
        $eventID, 
        $event, 
        ['sendUpdates' => 'all']
    );
    
    0 讨论(0)
提交回复
热议问题