Hooking any AI chatbot to Facebook chat - facebook

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/

Related

Facebook Developer- Messenger- add multiple webhooks for a single facebook page

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.

Can I build a bot using Facebook Messenger Platform to integrate on my own website or does it work only on FB Messenger having a FB page?

I am new to chat bot. I want to ask if I can build a bot using Facebook Messenger Platform to integrate on my own website or does it work only on FB Messenger having a FB page?
Like api.ai can be integrated to different platform, so can bot build Messenger platform be integrated to different platform? If yes can you please share the link for tutorial.
Yes you can integrate your chatbot built on FB Messenger Platform on your own website :)
Integrating your FB Messenger chatbot onto your website
With FB's latest Messenger update, it is now possible to embed your chatbot onto your website so that users can interact with your chatbot while browsing your website. The full feature & implementation details can be found in FB's documentation here. Here's a nice tutorial on how to do it here too. However, you still need to have a FB page linked to your FB Messenger bot to do so because bots are mainly used for talking to users via your FB page.
Can FB Messenger Platform be integrated to a different platform?
Well, no, but various other platforms such as API.ai (DialogFlow) or WIT.ai have integrations with other messenger platforms such as Telegram, Slack, Kik, etc.
I hope this helps! I recommend API.ai (DialogFlow) as a platform for making chatbots since it's relatively easy to learn and has good documentation. If you want a quick way to prototype a chatbot, then I recommend using ChatFuel, before making one from scratch :)

How can I build a schedule message function for a Facebook chat bot? I can not find any support from Facebook

I am trying to build a chat bot which can automatically sent alert to users who subscribed to my own page. However I can not find any support from facebook messenger for this task. How can I implement it?
Unfortunately fb messenger is not an one stop shop solution yet. I'd recommend using this excellent npm module node_schedule.I guess it should fit your needs.

how to make my Facebook chatbot available for download

I want to make my bot available for download for testing purpose without
going through the actual review process of Facebook? This is just for testing purpose as I want to test how exactly end user will
download my bot from FB messenger platform and then will start using my bot. Is there a way/platform to try this? Can I do that?
(currently i am testing am sending message to my bot using FB page's messenger link as indicated in almost all the blogs/sites including FB's official
site.)
Can you please provide any pointers/links on this?
I see two options for you:
You want users to test your bot on Messenger:
Simply add them as testers in your bot corresponding Facebook page then ask them to look for your bot in their Messenger app.
Or you want to test your bot behaviors:
Enter botgen the chatbot generator I'm currently working on, which could help you test more publicly the bot you're working on. (assuming your bot doesn't need coding and is all about pattern conversation).
Just use the designer interface to design, run and test your chatbot.
Publish it and share it with your actual test users.

How can I implement Facebook Chat on my site?

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.