Google Create/Update contact send webhook to my system - push-notification

I want to register to Google contact to get triggered to my webhook whenever google contact is deleted or updated or created. Can you please help with required documentation?
I have seen Zapier is already doing it.

Related

Getting a lot of SPAM Mail using Google API

I just started using Google Mail API with WPForms. I followed the steps to create API which I'm using to submit forms to a specific google email account. How do I stop all the SPAM messages/requests coming through or submitted from my WPForm to my google email account?

Firebase Analytics - permission issue

I have some permission issue in firebase analytics. When I go to Analytics => Events => Modify Events => choose android or iOS, I get error that "You do not have permission to access these settings" and when I click on "View more in Google Analytics" I am getting error that "Missing permissions - You do not have access to the account, property or view. Contact an Analytics administrator who has the Manage Users permission." Screenshot for both error attached. Google Analytics Error Modify Event Error. I have owner and admin access in both firebase and Google Analytics account.
This issue may be due to multiple firebase and google analytics account. But I don't know how can I check and fix this.
You can't create custom events on Firebase console. Create through you code and customs events will appear in dashboard. Sometimes it takes time to reflect your data maybe 2 hours or less
You need to add the user you want to have permission to edit/add the Analytics => Events => Modify Events in https://analytics.google.com/analytics/web/ in the analytics project linked to Firebase. The user should be granted Editor access.

Firebase Stripe Extension - adding custom claims to user

I'm integrating Stripe with firebase and firestore using the Run Subscription Payments with Stripe extension. When a user subscribes to the service I need to be able to decode the JWT and see if they are subscribed or not through a custom claim.
The logs on the function show that it is invalidating the custom claim. I'm unsure why this is happening.
From the logs you've provided, it looks like you have multiple subscriptions (sub_KBpVfFzNclrhaG and sub_KBpV10rxE6jkkH) that are both tied to the same user/customer. Subscription sub_KBpVfFzNclrhaG has a status of active or trialing, and so the custom claim was correctly added. However, subscription sub_KBpV10rxE6jkkH was created shortly afterwards (I assume with a status that wasn't active or trialing) which updated the user's custom claim again to null. You can confirm that this is happening by checking the statuses of both Subscriptions in your dashboard.
You need to make sure you have only one active/trialing Subscription per-customer, which would be something you check in your app logic. There's an example of how to check for active/trialing subscriptions for a customer here (https://github.com/stripe-samples/firebase-subscription-payments/blob/4cf116c163ba69f0f46bcc782e4162e0edf452a4/public/javascript/app.js#L121)

I want connect my firebase information with my mail

I just created a contact form and I use firebase realtime database to get the information of the website visitor who want to contact me.
and now I want receive an email with the information form firebase each time a visitor send a contact submission from the web site.
how can I connect firebase realtime database with my email?
thank you
I hope this will help you achieve your desired functionality.
One way of doing is by using Firebase Cloud Functions. You state that you want to receive an email after a user persists information to firebase Realtime database. I suggest have a thorough look at Firebase Cloud Functions and look under firebase real-time database triggers. These functions get executed or are triggered after an operation(delete, update, write) occurs within the database. Also have a look at Firebase Functions Send Email for how to implement the email sending part.

Google Calendar API, Push notifications : Determine the source

I would like to make a bidirectional sync between my google calendar and my website.
I've set up push notifications, everything is working well.
But there is one strange issue:
I can't determine the source of the notification.
When I delete an event in calendar, website will get a notification from google, it can check with synctoken what changed, then i can delete corresponding availability slot on my website too.
But, if i delete an availability slot on my website, PHP will delete the corresponding event in google calendar (with API), then google calendar will send a push notification to my website, and the website will delete the newly added event from the database.
The point is:
The interaction what is fired the push notification where comes from, what is its source.
I hoped i will get different information in push notification, but those are very same.

Resources