-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
21 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
# Bottender FB | ||
# Bottender Facebook | ||
|
||
[![npm](https://img.shields.io/npm/v/bottender-fb.svg?style=flat-square)](https://www.npmjs.com/package/bottender-fb) | ||
[![Build Status](https://travis-ci.org/bottenderjs/bottender-fb.svg?branch=master)](https://travis-ci.org/bottenderjs/bottender-fb) | ||
[![npm](https://img.shields.io/npm/v/bottender-facebook.svg?style=flat-square)](https://www.npmjs.com/package/bottender-facebook) | ||
[![Build Status](https://travis-ci.org/bottenderjs/bottender-facebook.svg?branch=master)](https://travis-ci.org/bottenderjs/bottender-facebook) | ||
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) | ||
|
||
> Facebook connector for [Bottender](https://github.com/Yoctol/bottender). | ||
## Installation | ||
|
||
```sh | ||
npm install bottender-fb | ||
npm install bottender-facebook | ||
``` | ||
|
||
## Requirement | ||
|
@@ -34,7 +34,7 @@ You need to make sure the webhook of your page is subscribing to the `feed` fiel | |
```js | ||
const { Bot } = require('bottender'); | ||
const { createServer } = require('bottender/express'); | ||
const { FacebookConnector } = require('bottender-fb'); | ||
const { FacebookConnector } = require('bottender-facebook'); | ||
|
||
// We can get `story_fbid` in URL query string | ||
const POST_ID = | ||
|
@@ -119,13 +119,13 @@ submit your pull requests: | |
Fork, then clone the repo: | ||
|
||
```sh | ||
git clone [email protected]:your-username/bottender-fb.git | ||
git clone [email protected]:your-username/bottender-facebook.git | ||
``` | ||
|
||
Install the dependencies: | ||
|
||
```sh | ||
cd bottender-fb | ||
cd bottender-facebook | ||
yarn | ||
``` | ||
|
||
|
@@ -139,4 +139,4 @@ Make your changes and tests, and make sure the tests pass. | |
|
||
## License | ||
|
||
MIT © [Yoctol](https://github.com/bottenderjs/bottender-fb) | ||
MIT © [Yoctol](https://github.com/bottenderjs/bottender-facebook) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters