A simple broadcaster to broadcast your message to multiple social channels simultaneously.
const facebookPageConnector = new FacebookPageConnector({
accessToken: 'a1b2',
id: 'my-fb-page', // `id` is an identifier so you can have multiple same type of connectors
pageId: '1234',
});
const instagramBusinessConnector = new InstagramBusinessConnector({
accessToken: 'a1b2',
id: 'my-ig-page',
userId: '1234',
});
const linkedInConnector = new LinkedInConnector({
accessToken: 'a1b2',
id: 'my-linkedin',
});
const twitterConnector = new TwitterConnector({
accessToken: '1234',
accessTokenSecret: '5678',
consumerKey: 'abcd',
consumerSecret: 'efgh',
id: 'my-twitter',
});
const brawdkaster = new Brawdkaster({
connectors: [
facebookPageConnector,
instagramBusinessConnector, // Not tested
linkedInConnector,
twitterConnector, // Not tested
],
});
brawdkaster.broadcast(
{
message: 'Hello World',
},
{
// TODO: This is just a concept, not implemented yet.
only: ['my-fb-page'],
},
);
WIP
- Facebook Connector
- Facebook Page Connector
- Twitter Connector
- Instagram Business Connector
- LinkedIn Connector
- LinkedIn Page Connector
- WhatsApp Connector
- Tumblr Connector
- Better Documentation
- Add debug logs
- Test Cases