@cexy/rakibfca
v1.0.2
Published
Facebook Chat API for Messenger bots
Maintainers
Readme
Rakib FCA
A modern Facebook Messenger Chat API for Node.js.
Features
- Facebook Messenger Chat API
- MQTT-based message listener
- Fast and lightweight
- Stable login support
- Attachment support
- Photo URL resolution
- Event handling
- Thread and user utilities
- Promise-based API
- CommonJS support
Installation
npm install @cexy/rakibfcaUsage
const login = require("@cexy/rakibfca");
login(
{
appState: require("./appstate.json")
},
(err, api) => {
if (err) return console.error(err);
console.log("Logged in!");
api.listenMqtt((err, event) => {
if (err) return console.error(err);
console.log(event);
});
}
);Requirements
- Node.js >= 18
License
MIT License
Author
Rakib Hasan
GitHub: https://github.com/bdrakib123
