I was creating new google calendar event using google calendar API through service account email in c#. I succeeded in creating the event but the invitation mail I received has service account email address as 841212832218-vaqgheuempaamjpprglaa9d36q55gq7a#developer.gserviceaccount.com instead of the actual gmail id as rags1.2#gmail.com. Could you please let me know anybody has the solution for this.
Thanks
Related
I have requirement of creating website in c# to integrate the GA4. On which I can connect with GA4 API with any gmail account (userid/password), then select the property account from the list and get respective data without using any specific client key. Any help would be greatly appreciated.
On which I can connect with GA4 API with any gmail account (userid/password)
You cant this is / was called client login google shut this down in 2015. In order to access private user data you must use oauth2 to request consent of the user in order to access their data.
without using any specific client key.
You cant oauth2 requires that your application be registered and verified by google in order to access private user data. Then in order to request authorization you will need to use your client id and client secret.
Any help would be greatly appreciated.
Start looking into how to the Google analytics data v1 api
We have python website where events are created by users.
We want to sync the created events on python website on google calendar based for logged user email address (calendar attached with logged in user email address)
To show these events on calendar we need to call (event create/ event update /event delete ) Api's based on user email address
Please suggest if any documentation available.
Followed the below link
https://developers.google.com/google-apps/calendar/quickstart/java
working only for gmail calendar. How to send calendar event to non gmail accounts?
Many thanks.
You can send calendar invites even to non-gmail users. Just include their email in the attendees[].email array property. Don't forget to set sendNotifications to true to send notifications about the creation of the new event to the attendees. You can give this a try in the Events.insert Try-it.
If you've sent emails to non Gmail users and they haven't received it, it maybe that it was placed in spam folders as mentioned in
Event Invite for non-Google calendar users.
I'm using oauth to authenticate in google calendar, but i'm trying to send user and password to avoid open the authentication popup.
I'ts like automatic authentication.
Is it possible?
Thanks.
Since you want your application to always create events in a single calendar that is under your control, here is how I would do it:
Create a service account in Google Cloud Console - recent instructions on how to do so can be found here: google oauth2 how to get private key for service account
Share your calendar with that service account: https://support.google.com/calendar/answer/37082?hl=en
Write your code to use the service account credentials (private key downloaded in step 1).
I didn't post any sample code, as I'm not sure what language you are using. The following has some discussion of this use-case in PHP: Access Google calendar events from with service account: { "error" : "access_denied" }. No google apps
Is it possible, with the Google Calendar API / Zend Gdata, to get the user's google email address, after he successfully authenticated with AuthSub and I have an access token?
I have a problem with some users having multiple Gmail and Google Apps accounts, and then not remembering which one they've used to Sync with my service and having the impression that the sync doesn't work. I'd like to display them the Google Account they have first authenticated with.
Have you tried the experimental settings API? It looks like it returns the user's name and email address in the author section.