Code Monkey home page Code Monkey logo

hitcon-chtsec-bot's Introduction

HITCON-CHTSec-Botman

This is a guideline about creating your own chatbot on facebook

Author : Redhung aka r3dhun9

Contact :Philip Chen (Facebook)

Installation (PHP >= 7.1.3)

composer global require laravel/installer

composer global require "botman/installer"

composer create-project --prefer-dist botman/studio <directory>

php artisan botman:install-driver facebook

Guideline - Step 1

First, create your own page on facebook.

And then go to this website to login.

Press the button to create your app and input your name.

Press "基本資料" and fill in the blanks.

Notice: You can use https://www.privacypolicies.com/ to create a privacy page.

Notice2: You can use https://ngrok.com/ to create a domain with php artisan serve.

Press "+" button next to the "產品", and press "設定".

Add your own page.

Guideline - Step 2

Let's go back to our botman directory.

Edit .env and add these parameters below :

Press "產生權杖" to access your FACEBOOK_TOKEN :

Press "基本資料" and "顯示" to access your FACEBOOK_APP_SECRET :

Last, enter your specific FACEBOOK_VERIFICATION to .env and go back to edit the webhook.

Notice: We must add /botman after the url to call our chatbot.

Okay, let's turn up the button and have fun !

hitcon-chtsec-bot's People

Contributors

r3dhun9 avatar

Stargazers

 avatar Wei-Ren Bao avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.