Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 816 Bytes

README.md

File metadata and controls

26 lines (20 loc) · 816 Bytes

Fake news bot

A facebook messenger bot that helps people find out if a site is known for fake news and if an article is fake.

Get Started

Initial Setup

  • Install node.
  • Install Serverless framework. npm install -g serverless

Clone the repo

git clone https://github.com/cristiandan/fakenewsbot.git

Configure project

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.

Configure serverless

You can find more here.

To deploy

npm run depoloy