0.5.0 / 2018-10-30
- [breaking] Upgrade default graph api version to
3.2
- [new] rewrite
FacebookClient
to accept customorigin
url (#54):
const { Bot } = require('bottender');
const { FacebookConnector, FacebookClient } = require('bottender-facebook');
const bot = new Bot({
connector: new FacebookConnector({
appSecret: APP_SECRET,
client: FacebookClient.connect({
accessToken: ACCESS_TOKEN,
version: '3.2',
origin: 'https://mydummytestserver.com',
}),
}),
});