Azure BotFramework V4 possible to get facebook webhook page feed event? - facebook

I have a bot that subscribes to a facebook page feed and listens to user's comments; however, the azure bot v4 framework webhook doesn't seem to provide a response for this in the bot code.
Can I do this in a single FB app, or do I have to split it into 2 Facebook apps: one for the bot framework and the other for listening to the webhook?

Related

Independently subscribe to Instagram and Facebook Page webhooks?

I know it is possible to subscribe to webhooks (for a Meta/Facebook App) for a specific Facebook page by using https://graph.facebook.com/{pageId}/subscribed_apps?subscribed_fields={fields}&access_token={token} but how does this work for Instagram pages? The only text I have found about it states the following:
Note: You cannot use the subscribed_fields parameter to configure or subscribe to Webhooks for Instagram. You must use your app dashboard to subscribe to Instagram Webhooks (from https://developers.facebook.com/docs/graph-api/reference/page/subscribed_apps/)
But it sounds a bit weird that a customer using our App cannot connect their Instagram page to our App and have webhooks delivered, without me as an App-owner doing manual stuff in the app dashboard.
Am I missing something?
No need to subscribe instagram page you should just go to instagram entry on the developer facebook account webhooks and then subscribe to a field that you want to receive notifications . your facebook page should be associated to your instagram business account .
N.B For the feed of instagram we have only comments field

How to create a Facebook Event using Facebook Graph API in 2022?

i'm trying to create a Facebook Event from Postman.
My project consists of an Event Management and Sharing System.
I was able to post a Facebook Posts of type text, link, photo, multi-photos, and video from Postman to my Facebook Page.
I'm confused about what i should do to create events through Facebook API.
At the page Event - Graph API Reference i read that "Access to Events on Users and Pages is only available to Facebook Marketing Partners".
At the page API Official Events | Facebook Developers i read that "we are temporarily pausing new integrations with partners, but you are welcome to complete the form below. Please note that responses to this form are monitored but you may not receive a direct response."
Should my company make a request to become a Facebook Marketing Partners or there's another way of creating events of facebook through Facebook API?
EDIT: i forgot to say that through Postman i'm able to retrieve an event performing a GET to https://graph.facebook.com/v13.0/980993592785922/?access_token={my_long_lived_user_access_token_with_proper_permissions}

Get list of users who contacted my Facebook Messenger Page

I am building a Chat Bot using Facebook Messenger Platform.
According to Facebook documentation, all users who previously contacted my page via Messenger chat can be contacted using the bot.
My question is: is there a way to retrieve the list of user ids who previously contacted my page on Messenger, previous to the bot being enabled on the page?
My intention is to engage them and let them know that they can use the bot now.
Thanks.

Communicate using chat widget through facebook messenger

I want to make a chat widget which includes functionality that you can chat with messenger and in that instead of redirecting user to messenger window i want to post messages to messenger on behalf of user and webhook of messenger will take care of rest.
The graph api only explains about how to send message on behalf of bot. Is it possible to send message on behalf of user using graph API+ messenger platform or something else?

FB chat bot Permission to make hybrid bot so human can reply from web panel

I have developed FB messenger bot using Microsoft bot framework. The bot is ready and approved by FB.
Now I am working on the hybrid part so human(web panel user) can take over chat and do conversation.
Now Issue is, I don't now which permissions need to read and show bot conversation in my web panel.
Also, it will be great if you can suggest that should I need to save conversation in DB to show in web panel or Is it possible that I can make a direct get request to FB API and show.
Thanks.
For FB Permission: pages_messaging
Development:
Show message: From our database.
Reply message: Using botframework