How to find ownership of a Google Calendar - google-calendar-api

Some time ago, I created a Google Calendar at calendar.google.com using Chrome Browser, and made it public. This was a calendar in addition to the default calendar provided with every Google identity - let's call it calendarX. I then sync'd calendarX with my Thunderbird (Lightning) client, and am still using it today with Thunderbird, to create & view events.
I now need to know the address of calendarX, so that I can share the link with others. So I logged into calendar.google.com with (what I thought were) the credentials of the calendar owner - but calendarX is missing, no reference to it at all.
So maybe I used some other Google identity to create the calendar?
The only clue I have is the calendar properties in Thunderbird (Lightning). It shows:
googleapi://MYEMAIL#MYDOMAIN/?calendar=MYDOMAIN_dq0l2urbXXXXlj9gcn5o2en1bc%40group.calendar.google.com
Doesn't MYEMAIL#MYDOMAIN imply the ownership of calendarX? That's the Google identity I have checked, and calendarX does NOT appear when I log into calendar.google.com with that identity. The default calendar is there, but not calendarX.
So maybe it's owned by some other identity? How can I find out?
Or how can I find the address of calendarX?

Google Calendars can be found by simply logging in your CORRECT email address which was used to create it. There's no tricky process in that. Just make sure it's your email address and not a service account that was used.

As an Admin of the GSuite system, you can add any calendar to your own account. If you can find the calendar ID from a user who has access to the calendar by going into the calendar settings is the way I did it, you can just add the calendar to your account using the calendar ID URL, once it is in your account as a super admin you can see who created the calendar and you can change who has access and the rights. Very simple but not documented anywhere I could find.

Related

Is there any way to set up google calendar such that invites come from an alias?

I use google calendar, but I send emails from an alias email there. When I send out calendar invites, it says it comes from my google email address. Is there any way to have this sent out "coming from" the alias email address?
Unfortunately, Google Calendar does not have a way to edit the email from where the invites are being sent. The invitation will only come from the primary email address.
It is a feature that has been requested for years as I was able to find a thread about the matter. Check How to use aliases in Google Calendar?
I always suggest to submit a feature idea through the Google Workspace if you have: Feature idea!
Make sure you have shared the calendar from the alias google account with your main google account so that both calendars show up on the main.
When creating a new event, there you should see a calendar icon. It should have a list of the "Shared Calendars". From here select the one you want the invite sent from and it will be sent on behalf of that alias account.
screenshot

Calendar App is blocked when users try to sync their calendar

Thank you in advance for your help!
We have a CRM system that allows users to sync their Calendars using the Calendar API. The application ID of the Calendar project is not associated with our GSuite organization and we have not been able to troubleshoot the account. The calendar application was created using a non-company email address through GSuite and we no longer have access to the application. Our company is approved by Google for the Restricted Scope after an audit by Leviathan.
We are trying to receive help from Google Support and submitted a ticket through https://support.google.com/googleone/contact/googleone_chat but are not getting anywhere and were told to come to Stackoverflow.
This is an access issue with the project being assigned to a non-organization user and we need to have the Calendar project moved to our existing GSuite organization with the help of the proper department.
There's a 2-step solution that we need assistance with. The first step is to ask for Google's help to identify which email the Calendar API project is part of. The second step is for Google to move the project to our GSuite Organization.
Our users are seeing this message when syncing their CRM Calendar
Our users are currently unable to sync their calendars. This is very important that our clients are able to sync their calendar without seeing an error.
Thank you,
Dimitri

Missing meeting organizer display name when getting events from Google Calendar API v3

When querying events via the Google Calendar API (V3), I am unable to see the display name of the organizer of the event. The email field is populated however there is no display name.
From previous research I can only find mentions that in order to get the display name to populate, the GSuite user must also activate Google+ on the user's account. Is this seriously the only way to do it? Or are there any other API calls I can use to maybe retrieve this data?
Any help would be appreciated, Thanks!
You can check Daimto's answer from this SO post.
Display name is only added via the web view if it is a gmail account
and google has some way of knowing what the users name is. This might
also work if the user organizer has said user in their google contacts
google might be able to grab it that way as well.

Google analytics Embeded api with out Oauth authorize

How can i use gapi.analytics.auth.authorize without button..
I need it for customers, to track visits on their subdomain, and I have my analytics code on page, so they can't use button to authorize, need without it, automatically.
Any example?
Your question isn't very clear it is hard to understand what you mean by Button.
I think you mean that you would like to select data from YOUR Google Analytics account and display it on YOUR website.
To do this you will need to use a service account as apposed to Oauth2 (Oauth2 would popup with a new window requesting access). When you create the service account in the Google developer console take the service account email address. Give it access at the ACCOUNT level in the Google analytics admin section. It must be the account level this will then give the service account access to read your Google analytics data.
Quota: I am not sure what you are extending to do here but remember you can only make 10000 requests per day against your Google Analytics profile. After that you are cut off there is no way to extend this number. So I advice you to save the data in the database someplace you shouldn't request the same data more then once.
Example:
I suggest that you look for an example in what ever programing language you are intending to use. Again your question doesn't state anything about what language you will be using. Hello analytics API might be a good place to start but it depends upon the language the PHP one is way out of date I wouldn't bother with it. Also you cant use a service account with JavaScript so that one is out to.
Update figured out button
Embded api I think I have finally figured out what you mean by button. gapi.analytics.auth.authorize is used in the Google analytics embedded api. Which is JavaScript which it is not possible to use with a Service account. So the final answer to your question is
Answer: You cant remove the button from the Google Analytics Embded api the only way to login with JavaScript is to use Oauth2.
Advice: switch to PHP and use a service account to request data yourself. Or give each of your customers access to your Google analytics so they can login themselves.

Google Calendar API integration

My scenario is the following: We currently own an online rental marketplace that uses peer to peer bookings just like Airbnb. This means each user has a calendar for their property.We have a Vaway calendar for the bookings on our site however are wanting to integrate google calendar so we can be able to 2 way sync/asynchronous all the Ical calendars to each other from our partner sites who support it.
After much research I have tested my personal google calendar to see how the iCal works and it seems to work perfectly so we decided this architecture would need to be implemented on a much larger scale. This would be used in all new users signups to give our users an all in one calendar that syncs all our Partner sites into one completely synced google calendar for their listing. This basically allows a user who has their listing on 7 different platforms to sync to one calendar showing availability for them to keep track of inside Vaway account.
The google calendar would be completely separate from our Vaway calendar specifically to allow our users to sync all their property bookings from other sites into one integrated calendar.. The problem when reading about google calendar API is it requires OAuth 2.0 which is required user sign in from their existing google account (Calendar, Gmail...etc). Many of our users and new signups will not have google accounts and we do not want them to have to go through a google signup process to log into their calendar. Is there any way around OAuth 2.0? We really just need the functionality of the google calendar and its syncing capabilities inside our dashboard to give read write permission and sync back and forth 2 way with other calendars on other platforms.
With all of the features the google calendar has it seems to be perfect for what we are doing when testing. Each user that signs up with us will have google calendar in their Vaway dashboard provided by vaway however they will manage their own google calendar inside the Vaway platform for their property bookings. All calendars events/bookings would be public to allow the Ical syncing option to push through.
We do not want the users accessing this calendar outside of the platform because the pulls them away from the site. I'm not sure what solution would best suit this business model and am totally at my wits end here after researching. We are trying to keep our overhead low so google apps marketplace is not an option.
You really should reformulate your question, because it's really hard to read and understand right now.
But if I really get your question, you want to enable managing google calendar from a personal application without the end user having to log to any google personal account.
If this is clearly what you want to do, I suggest you to have a look to Service Account with OAuth2.0.
(See here : https://developers.google.com/accounts/docs/OAuth2#serviceaccount)
It will provide a service account for your application, from which you will be able to handle calendars for your app.
And here you will find a sample showing how to do it with Java. (https://code.google.com/p/google-api-java-client/wiki/OAuth2#Service_Accounts)

Resources