Botkit: How do I send a message to Botkit bot - botkit

I have a botkit bot exposed on one URL, how do I send messages to the bot using js or using Postman. I was not able find any documentation for it.

Related

Dialogflow Facebook Integration is not responding to incoming messages to pages

I have a Facebook messenger bot. This bot is connected to Dialogflow using a Gmail address. I have generated a token from the Facebook app. Then this token is inserted into the Dialogflow account. Also, webhook URL and verify_token from Dialogflow are given in the Facebook app.
Now I am facing a very odd problem. The problem is the bot is not responding to page messages or quick replies. So where is the problem? It is Facebook or Dialogflow? Please help me.
I have followed this documentation from Dialogflow. Dialogflow documentation Also, I have followed this tutorial from youtube.
I was able to replicate the video tutorial. I think you should be careful with these points.
On dialogflow, check if messenger integration is up and running and its pointing to your working enviroment. Defaults draft.
On facebook app, check if its valid and working. Your app must exists and the webhooks should be selected and token should have not changed.
If token was regenerated you might have to restart the syncronization process as described in the video you share.
Your bot should have basic intents. without intents, you will not get any response.
Your intents should be able to parse your incoming messages else you will not get any response.
On dialogflow, you can check if your intents are working properly by chatting with it. You should get details of the response generated.
Hint: You can chat with your dialogflow agent by writing messages on the Try it now to see if its working properly
Check if fulfillment is being use. If so, check if your inline editor or webhook are working properly and returning messages.
if there is a delay in the response and you are using code behind it you might need to know that response should not exceed the appropriate quotas per minute. For quota details you can see this link.

Facebook message to page

Is there a way how I can send regular message to facebook page?
I got this:
https://github.com/Schmavery/facebook-chat-api
but it is unofficial.
When I've tried to send several messages sending account was blocked.
I have not found any info about limits or anything else connected to sending messages to Facebook pages.
In official Facebook documentation regarding messaging API there is nothing about sending message to Page. As bot is acting as Facebook Page itself I suppose it can't send message to another Facebook Page.
There is no API to send user to page messages, you can only send messages from page to user. And only if the receiver started the conversation first.
DonĀ“t use unofficial ways, they are not allowed.

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

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?

Facebook Chat API and OpenGraph

If I send a private message to a friend, and that message includes a link, Facebook automatically appends the site's icon, description, etc. to the message (assuming that site supports open graph).
However, when I use the Chat API to send that link to a friend, it doesn't do that. It just sends the link, but doesn't use the open graph information of the site to display image, description, etc.
Is there a way to fix that?
If you are planning to do this in PHP, I would recommend you to extend echo_facebook_client.php sample example which comes bundled with Jaxl library. This will let you send private message to a friend using your facebook application oauth tokens.
Last time when I checked facebook jabber documentation (which was a few months back), there was no official way to attach link metadata within a chat context. Under limitations section of the doc you will find:
Your client cannot send or receive HTML messages

Send Message to Friend On Facebook with C#

I am new on Facebook API. I want to send message to friend with facebook api. I am developing a desktop application in c#. And I used graph.facebook.com but I can see just some information. I think that to login facebook system and after send message some id. I looked developers.facebook.com but I didnt find useful information. Maybe I looked in wrong way..
I need some advice about it (how to login and send message)
I followed function of messange sendin on google chrome and I saw send.php worked . But I want to use Facebook API
By design Facebook does not allow the API to send messages. You can post on the other users wall, or send them an email.