Skip to content

Basically facebook bot. The bot send a message same you sent it.

License

Notifications You must be signed in to change notification settings

SocialGuidebook/FBBot-Prototype

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Facebook bot

This bot chat your word.

Screen shot

Usage

Depends on https://developers.facebook.com/docs/messenger-platform/quickstart

  1. Create Facebook App
  2. Add product Messenger
  3. Deploy us to heroku using right button. Deploy
  4. FBBOT_TOKEN is string you can choose like testtestabc. Copy or remember this string.
  5. Facebook app page, set webhook and permission. Input string using for FBBOT_TOKEN.
  6. After connect facebook page, you find out page access token. Copy it.
  7. Set page access token to heroku. If you use heroku rubygems, command it. is page access token. heroku config:set FBPAGE_TOKEN="<token>"
  8. Command it on terminal. curl -ik -X POST "https://graph.facebook.com/v2.6/me/subscribed_apps?access_token=<token>"
  9. Open Facebook messanger app, Search your app.
  10. Something chat, bot return the message.

You can customize me!

License

MIT License

About

Basically facebook bot. The bot send a message same you sent it.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%