messaging_optins webhook event not working for messenger - facebook-messenger

I'm trying to get the event when the developer/tester/admin click on the messenger plugin to start the chat.
these are the selected event with my app:
Selected events: messages, messaging_postbacks, messaging_optins
from these 3 events, two are working perfectly. but messaging_optins isn't working.
from the documentation:
https://developers.facebook.com/docs/messenger-platform/reference/webhook-events/messaging_optins
This callback will occur when the send to Messenger plugin has been
tapped, a user has accepted a message request using customer matching,
or a user has opted in to receive messages via the checkbox plugin.
I'm tapping on the start chat button with a different developer account. but every time it fails to send me the webhook for this. but other 2 hooks are working perfectly!
Can you guys please help me with that?

Related

How can I send pusher beams browser notification alerts with nextjs?

I'm implementing Pusher-Beams with next.js using authenticated users flow exactly as described in beams docs, and I got in the browser console client is subscribed and registered successfully.
However at pusher-beams debug-console website page I have these messages when I click on push notification button and nothing shown in my application,
I don't know what exactly I'm doing wrong here?!! and why I keep getting device de-registered message?
Note: I've tried with Chrome, Firefox and Brave but it is not working.

Gather custom events from a React app with Google Analytics 4

I'm using react-ga4 to send custom events to Google Analytics 4. I can see the events in the real-time dashboard and I can see an event with the made up name I'm using in the select of events when creating a custom event with the ui, but I can't find my data in the events tab or anywhere else outside the real-time section.
Is there something I should do on Google Analaytics and/or where can I find the custom data I'm sending?
It takes 24 hours to appear on the events tab
You can also confirm the correctness of your code by checking the event's hit from the networks tab in the dev console of your browser.
The API to GA for your event should start with https://analytics.google.com/g/collect?v.... In the payload tab here, you should be able to view the following fields for your event:
ep.category
ep.action
ep.label
NOTE: It takes upto 24hrs (as mentioned in above answer) for the event to appear in the events section of your GA4 property

Make web push notifications to show for longer

We integrated web push notifications in our React App with firebase, it is working fine both in foreground and in background. When the app is in foreground we attached a event listener (onMessage) that will handle the event and will create a push notification with the Notification Object. It is also working fine.
My question is, is there any way to increase the amount of time the notification (foreground notification) will be shown to the user? currently it is visible for 5 to 6 seconds (in Brave, Linux Mint).
Thanks in advance
No you cannot increase the time your notification is shown.

Looking for Outlook Office Web Appointment OOTB "Delete" button event handler

As we are able to track OnSend event on send button. Is it possible to track delete event on delete button while deleting the event? Please see the below screenshot for the same.
Screenshot
Currently delete event is not a part of the product.
We track Outlook add-in feature requests on ourĀ user-voice page. Please add your request there. Feature requests on user-voice are considered, when we go through our planning process.

Event Triggered Toast Notification UWP

Idea:I am automating wifi login for a particular network where user have to enter credentials by poping a toast notification like alarm app but instead of snooze or dismiss button there would be login or logout.
Issue:How to trigger toast notification immediately when the user connect to a particular wifi network?
You need to use a Background Task which is getting triggered by a System Event - in your case the NetworkStateChanged trigger.
Here are a list of available triggers:
SystemTriggerType Enum
And here is a quick introduction how to respond to such a system
event:
Respond To System Event
You can then check if you want to show the toast by using Windows.Networking.Connectivity.NetworkInformation.GetInternetConnectionProfile()
Look at this question https://stackoverflow.com/a/32846558/5111904 or look up the documentation of the NetworkInformation class for further information.

Resources