I am trying to build a chatbot using Facebook developer platform. I want my bot to respond differently under different scenarios. So, basically I have my standard bot implementation on Heroku server. I want to bring in api.ai into my bot so as to leverage the kind of functionalities api.ai offers.
To bring in api.ai, I need to configure webhook in my Facebook app. As my Facebook app is already subscribed to Heroku, I don't see an option to add another webhook. Is there a way to subscribe my app on Facebook to multiple webhooks?
If not, is there any way to integrate api.ai using api calls from my heroku server?
Thanks in advance!
It's likely you'd probably just forward them along to the next endpoint. Have your server be the frontend, and forward requests from your server to the next webhook if needed.
Related
I need to create an Azure Bot connected to Instagram Messenger for being able to connect to Microsoft Dynamics OmniChannel.
The Facebook Messenger is already a native channel in Azure Bot and the Instagram Messenger API seems more or less identical to its Facebook counterpart.
Therefore I was asking myself whether you could use the Facebook Messenger channel for connecting to Instagram Messenger as well?
If not, which would be the best way to connecting to Instagram Messenger?
The BotFramework service only supports specific channels. Anything outside of those channels requires a custom adapter to be constructed to facilitate communication between the bot and the unsupported service. This is typically done by building a custom adapter. There are examples in the botbuilder-community repos that you can use to help design yours. Both the dotnet and JS libraries contains several adapters that you can reference.
I built a chatbot that I plan to use with my pages. It's nothing special, only for development purposes. I used fastapi + mongodb + RASA NLU. It's all working fine with the integration by creating the app and subscribe to the webhook. the only problem I have is that I need to create one app per page. How can I link my chatbot to my page without creating an app all the time? I noticed ManyChat and ChatFuel can do this but I'm lost the fb developer documentation.
for reference, here's my current webhook setup.
https://myapp.com/webhook/<pageid_01>/
https://myapp.com/webhook/<pageid_02>/
https://myapp.com/webhook/<pageid_03>/
it's a workaround, of course. it works but I don't really want to maintain too many fb apps. not that I have many but between me and my friends who want to use my chatbot, it's not a pretty sight.
You can use the same webhook to handle events from multiple pages, but i don't think there is a way to make one fb messenger app for multiple pages! because the app will be receiving page-scoped unique Ids
You can just connect multiple pages to same app. And when you receive the event on your webhook, you can check the page-id and based on page-id, perform that page specific actions.
Is there at this moment a reliable way to build a chatbot for Whatsapp? There are some Whatsapp frameworks like this one but looking at the comments it looks like most of Whatsapp numbers got banned when using these. Also, Twilio for example has an API for Whatsapp but it is only for testing.
Thanks in advance!
Currently the WhatsApp API is still in beta and you need to wait for the API to be officially open to everyone. Still you can make a request to get access to their API in advance https://www.facebook.com/business/m/whatsapp/business-api
Twilio now directly supports WhatsApp integration; simply fill out Twilio's Request Access form with accurate and up-to-date information, including the Facebook Business Manager ID, and securely send WhatsApp messages using Twilio APIs.
And, in general, there are numerous approaches to developing a WhatsApp chatbot. However, there are some fundamental considerations to bear in mind when creating a WhatsApp chatbot.
Whatsapp business API
Chatbot builder platform
To build a chatbot I suggest Kommunicate for creating a simple and seamless chatbot. Kommunicate includes a bot builder tool called Kompose, which allows you to create bots without writing a single line of code. You can build AI-powered chatbots, deploy them on your website and apps, and even incorporate automated human takeovers if they fail. For detailed instructions on how to build a chatbot, please see this article. Kommunicate also lets you integrate with other third-party bot builder platforms such as Dialogflow, Amazon lex, IBM Watson, and custom bots.
Once the Twilio account has been configured with the WhatsApp Business API, connect it to the Kommunicate account to deploy the chatbot and manage customer conversations. Refer to this link for detailed instructions
PS: I work for Kommunicate
I haven't tried anything on this, but is it possible? If it is, is there a way of making a plugin for firefox or chrome? or making a software that enables you to hook ai chatbot to Facebook chat. I really want to use cleverbot or iGod.
You can connect to the facebook chat via the XMPP API, though I believe using it to connect a bot or anything that is not user-to-user chat is a violation of the rules.
There are many services such as Kommunicate and ManyChat, that provides a way to automate facebook conversations using AI Chatbot.
Signup at Kommunicate, visit Integrations section. Select Facebook, then select the Facebook page and connect. After that, go to Bot Integration section and connect it with the bot.
Here is a detailed instructions on th same: https://www.kommunicate.io/blog/facebook-chatbot/
I'm developing a site with something similar to the Digg bar at the top. One of the features requested is a live chat using Facebook. Is it even possible to implement Facebook Chat on my site by using Facebook Connect or other methods? And if so, how?
[update] I've seen that it works with Pidgin and Adium, but what I'm looking for is a site based implementation (think AJAX & HTML living at the top of the page).
It appears that the Facebook team has at least begun, if not finished, implementing an xmpp/jabber interface for Facebook Chat. This would allow you to use any XMPP enabled client to connect to Facebook. That said, there's at least one javascript jabber client library available that I can find. Although, you may have to implement a proxy on your web server to allow the JS client to talk to the Facebook server.
Also, I'm not sure how they're doing it, but Meebo has managed to enable Facebook chat integration on their site with Facebook Connect. I haven't found anything mentioning it, but this functionality may be easily available through the Facebook Connect API (documentation).
To answer your question: Yes, it's possible.