Skip to content

0.5.0 / 2018-10-30

Compare
Choose a tag to compare
@chentsulin chentsulin released this 30 Oct 08:44
· 58 commits to master since this release
  • [breaking] Upgrade default graph api version to 3.2
  • [new] rewrite FacebookClient to accept custom origin 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',
    }),
  }),
});