facebook-group-sync

var fbGroupSync = require('./');

npm install facebook-group-sync
13 downloads in the last month

Facebook Group Sync

var fbGroupSync = require('./');

fbGroupSync.setConfig({
  clientId: 'Client ID',
  clientSecret: 'Client Secret',
  groupId: 'Group ID',
  accessToken: 'Access Token', // 可以不給,程式會自己取得
  frequency: 3600000 // 預設是 3600000 (一小時)
});

fbGroupSync(function (posts) {
  console.log(posts);
});
npm loves you