SerekKiri / libfb-js

Messenger's MQTT implementation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

libfb-js

Facebook chat MQTT library for Node.js

npm   npm   love

Example usage

const { login } = require('libfb')
const api = await login('username', 'password')
api.on('message', message => {
  console.log('Got a message!')
  console.log(message.message)
  api.sendMessage(message.threadId, message.message)
})

Documentation

Disclaimer

We do not guarantee that this product will work correctly. Use only with whitehat accounts for research/educational purposes. We are not responsible for getting banned on Facebook.
MQTT connection logic was based on bitlbee-facebook.
All product and company names are trademarks™ or registered® trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.
"Facebook" is a registered trademark of Facebook, Inc., used under license agreement.

About

Messenger's MQTT implementation

License:GNU General Public License v2.0


Languages

Language:TypeScript 100.0%