How can i subscribe facebook webhook event when customer comment something to my page post , i try to subscibe page/feed but can't receive any webhook into my server.
Only live and approved apps will receive Page feed events. Therefore you need to submit your app for review (manage_pages permission). After your app was approved you can switch it to live mode and you'll receive the events you subscribed to at your callback URL.
Related
I have created a webhook to receive feed updates. I want to be notified when a post is liked or commented on or shared. I have set the endpoints up in a script on my server, i have also set up the webhook in the developers console. When i send a test event from the dev console in the webhook section my endpoint receives and processes it fine. When i set my app to live, nothing seems to be sent to the webhook from my page when i like or comment or post. I have followed all the instructions exactly. I have subscribed my page to the app and checked that it is subscribed, and also i have set my app to live. Yet there are still no webhook events received... Any one got any idea what im missing??
you have to get this permission pages_manage_metadata to get the feed activity on your webhook
I am creating a web dashboard and want to integrate my facebook page messenger inbox on the dashboard, so we do not have to login into facebook or messenger to view and reply to the messages we have received on FB. For example the inboxes that frontapp, smooch provide.
I am not sure if I need to save the messages we get in webhooks and the replies also or we can access it through API.
I am also confused that if I create an app and connect that to the dashboard , that the user can reply from the dashboard and the message will be delivered to the user through the app, is it possible to send the message after the 24 hour window (plus 1 message) fb allows for apps if they reply from FB app, or it considered as bot as the messages are delivered through app.
You can get the page conversations:
https://developers.facebook.com/docs/graph-api/reference/v2.12/page/conversations
And then respond to them by conversation ID:
https://developers.facebook.com/docs/graph-api/reference/v2.12/conversation/messages
I have set up a webhook callback here(https://glitch.com/edit/#!/nego-graph-api-webhook) and I also subscribe to conversations field on webhook page.
also, I have tested it with the Test button, I can see the response in my console. However, when I send a new message to my page, the webhook is not called?
May I know which part I'm missing out?
I'm having a rare but important issue with facebook's notification API. The short story is that a user can request to be notified via Facebook when a specific event occurs. A task is scheduled to periodically check users' notification requests and send each user a notification if the event has occurred. At least one user is not receiving these notifications ever. This is what I know:
Facebook's response for the notifications that have not arrived was always { success: true }.
The notifications are sent by a facebook app, not by a facebook user.
I've tested several other facebook accounts, all of which receive the notifications just fine.
The account that does not receive the notifications was viewed on desktop (I'm aware that the notifications are not visible on mobile).
The account that does not receive the notifications has the notifications setting enabled for our app.
The notifications were sent to the correct app scoped user ID.
Is there anything I'm missing? I know the notifications API is still in beta, could this be related to a bug?
I'm subscribing to Facebook real time updates for events. I was expecting Facebook to call the webhook when a user is invited to an event as well as when a user creates a new event.
But the webhook is only getting called when a user creates an event.
Is it possible to be notified on webhook when a user is invited to an event?