If you haven’t heard already, Facebook recently announced their new Messenger based chatbot store at the F8 Facebook Developer conference in San Fransisco. Along with that, they also announced a platform called Wit.ai aimed at making it easy to give your bot natural language understanding.
In this video series, I’m going to be making a Raspberry Pi powered Facebook Chatbot with the *new* Raspbery Pi 3. The chatbot will be coded to send me news articles on demand. In this video, I setup a node.js server on my mac and load it on my Raspberry Pi. EDIT: This project now has a Hackaday.io link: https://hackaday.io/project/12261-raspberry-pi-facebook-chatbot
If you have any suggestion for how to improve the chatbot, or how to improve these videos, please let me know it a comment below!
@iamaquantumcomputer on reddit pointed out some potential pitfalls.
– Some ISPs block inbound ports. Time Warner does this on my home connection, as well as the internet on my college campus. If you’re ISP does this, and you’re unable to find an internet connection for your pi that doesn’t block incoming ports, you’re out of luck. You’ll have to use an external server to host your code
– The bot will only be accessible by you. It won’t be publicly accessible unless it’s approved by facebook. And facebook is very choosy with who they approve for access to the api. I know many people who have spent time programming fb chatbots, only to have facebook deny them access to the api. I actually don’t know anybody who had one approved
– If you’re a beginner, I’d recommend python flask over node.js. It’s python based and has a smaller learning curve
See my code on Github: https://github.com/HackerHouseYT/Facebook-Newsbot
Facebook chatbot platform: https://developers.facebook.com/blog/post/2016/04/12/bots-for-messenger/
Node.js on a Raspberry Pi: https://learn.adafruit.com/node-embedded-development/installing-node-dot-js
Subscribe to Hacker House: https://www.youtube.com/channel/UCEcNXmr7DYq1XxpWHSxaN0w?sub_confirmation=1
Follow Hacker House on Instagram:
Don’t_Stop by Mr. Logistix (buukwerm) is licensed under a Creative Commons Attribution license (http://creativecommons.org/licenses/by-sa/3.0/)