Skip to content

Commit

Permalink
quick start documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
tortuvshin authored Feb 12, 2019
1 parent 34d0377 commit 1694e64
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,24 @@

[![NPM](https://nodei.co/npm/intelligo-cli.png?compact=true)](https://nodei.co/npm/intelligo-cli/)

## Usage
## Quick Start

Create the your bot:
Create the your bot project:

```js
$ intelligo mybot && cd mybot
```

Set the values in `config/default.json` before running the bot. Using your Facebook Page's / App's `ACCESS_TOKEN`, `VERIFY_TOKEN` and `APP_SECRET`

`ACCESS_TOKEN:` A page access token for your app, found under App -> Products -> Messenger -> Settings -> Token Generation

`VERIFY_TOKEN:` A token that verifies your webhook is being called. Can be any value, but needs to match the value in App -> Products -> Webhooks -> Edit Subscription

`APP_SECRET:` A app secret for your app, found under App -> Settings -> Basic -> App Secret -> Show

**Note:** If you don't know how to get these tokens, take a look at Facebook's [Quick Start Guide](https://developers.facebook.com/docs/messenger-platform/guides/quick-start) .

Install dependencies:

```js
Expand Down

0 comments on commit 1694e64

Please sign in to comment.