Gmail API watch() request - push-notification

Gmail API watch() request doesn't filter messages by Label and I saw that it was known bug.
https://issuetracker.google.com/issues/36759803.
I want to know is there any other way to be notified when a new message is added under the label? And if there isn't any other way, please share some best practices for using watch request.

Related

How do I start using the LinkedIn message API?

Setting Page
I recognised from the documentation that the message API is provided, but I can't find a button to request it.
https://learn.microsoft.com/en-us/linkedin/shared/integrations/communications/messages
Do I have to subscribe to any plan to start using it?
I've been looking for it, but can't find it.

How can sniff Firebase Events?

I'm using Charles Proxy as Sniffer to check and verify the body/payload of my Firebase Events?
I see the POST request to firebaselogging-pa.googleapis.com/v1/firelog/legacy/batchlog in Batch, and in each event, inside the POST request, I found the sourceExtension attrib, that I think constains all the event data, but I cant to decode, I tryed with base64 and bytes, but I cant see the content of the property.
I know the documented way to check firebase events is thourght the web portal in debug view, but this question is about how to see the content in the request before it arrive to the google cloud.
I saw another related post in Stackoverflow, but without any answers:
See Firebase network traffic in debug purpose
Anyone know how to sniff Firebase events and decode correctly? thanks in advance.

Google chat API - Receive user reaction on bot message

I'm wondering if the Google Chat API can call our endpoint when a user put a reaction (an emoji) on the message
has anyone made this working ?
Thanks
Issue:
You want the bot to be notified when there's a reaction to a message.
This functionality is currently not available, since the only Chat events that may trigger an action are:
ADDED_TO_SPACE: bot is added to a room or DM.
REMOVED_FROM_SPACE: bot is removed from a room or DM.
MESSAGE: a message has been sent to the bot.
Feature request:
This feature has been requested before in Issue Tracker, see:
Allow bots to be notified on emotes
I'd suggest you to star this FR, in order to keep track of it and to help prioritizing it. Also, since this FR has not been getting much traction, I'd consider creating a new one in the Chat API component, explaining the potential usefulness of this functionality.
Reference:
Chat API: Event types

Log analytics event when verifying email in firebase

Not sure if this is possible but maybe someone knows how to work around this.
I have a web application and I'm using the new analytics for firebase. I want to create a funnel for the registration process.
My funnel will look something like this
Pretty simple right. The issue is that I don't have a way of tracking when the users verify it's own email. Maybe the firebase team can add a new automatic event like the ones described here
If you want to file a feature request, Stack Overflow is not the right spot. You cn file a feature request with Firebase support.
But until such a feature is added, you'll have to implement the analytics event yourself. The most common way to do that is by sending the event from the client when you first detect that the email address is verified.
There are some subtle differences between this approach and one where the Firebase servers log it automatically, but it's as close as you can get for the moment, and relatively straightforward to implement.

How to process a google-checkout "buy-now button" transaction?

Google-checkout has a wizard that creates the html code for the button, but how do I have my website get confirmation that the transaction has been completed (or that it wasn't)?
EDIT: I have already seen pages such as https://developers.google.com/checkout/developer/Google_Checkout_HTML_API_Notification_API#Receiving_and_Processing_Notifications and the like. But I don't know how to implement them. For example: what is "HTTP Basic Authentication" , "HTTP request headers" , "HTTP 200 response code" , "POST" , etc.
So what I need is a simple (!) example with minimum code.
You would have to implement Google's Notification API. You can read about it here: Implementing the Notification HTML API.
Edit
In Response to:
Thanks. But unfortunately I don't know enough web developing to know
how to apply what is written there.
I'll be honest with you. Simple is relative and if you aren't familiar with some of the fundamental concepts as POST and request headers, it's likely you will never get a simple response.
Having said that, I believe the simplest solution for you is to manually confirm the transaction upon receipt of the confirmation email.
I envision that you would have some sort of management screen that displays a list of all 'pending' transactions. When you receive your confirmation email from Google, you would simply mark the corresponding transaction as having been completed. This is not entirely uncommon. In fact, since you are using single-item purchases using the Google button, this is probably the best option for you.
A more complex scenario (again not a simple solution), would be to create a service that will parse your emails and using some voodoo to map those emails to the corresponding transaction in your web app. This, though, is probably as advanced as implementing the Notification API.

Resources