A facebook messenger bot that helps people find out if a site is known for fake news and if an article is fake.
- Install node.
- Install Serverless framework.
npm install -g serverless
git clone https://github.com/cristiandan/fakenewsbot.git
Create a sensitive.yml file with the following:
pageAcessToken: <PAGE_ACCESS_TOKEN>
verifyToken: <VERIFY_TOKEN>
The PAGE_ACCESS_TOKEN is the token you get from Facebook when subscribing the app to a page. The VERIFY_TOKEN is the token you set to verify that the endpoint works in Facebook app settings.
You can find more here.
npm run depoloy