From 7853f4a5103bdbd2116f630ac569ff046aa660b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20Garn=C3=A6s?= Date: Sun, 17 Dec 2017 20:52:04 +0100 Subject: [PATCH] Create README.md --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..0ce1d10 --- /dev/null +++ b/README.md @@ -0,0 +1,18 @@ +# MajorFriarmBot - trolling your Facebook group + +Are you a member of a Facebook group with very predictable posts? Ever thought about how well a bot would fit in? + +Well you are in luck! This repo will help you create such a bot. + +## Requirements + +javascript utilizes newer js syntax as well as promises and async/await. Node 8 and above should be fine. + +## How to + + - `npm install` + - Got to [Graph API explorer](https://developers.facebook.com/tools/explorer), push the "Get Token" button, + make sure to request a token with `user_managed_groups` and `publish_actions` access. Copy paste this token to a file + called `token` in the same folder as the project + - `node API_crawler.js` + - `node post_nonsense.js` or `./run.sh`