Notification !
Note! This Is The Main Chat Api Product By [Facebook-Chat-Api]
Lead Author: [Neha Khan], Current Author Not Responsible! ), If Yes Error Try Using Another Product !
Support For :
- Support English, VietNamese !,
- All bot if using listenMqtt first.
Api For ChatBot Messenger
Facebook Already Has And For Users To Create Api For Chatbots At Dey => Here.
This Api Can Make You Payy Acc Like You Never Have, Please Pay Attention =))
Note ! If You Want This Api Contact on my facebook.Here
Download
If You Want To Use It, Download It By:
npm i neha_khan
or
npm install neha_khan
It Will Load Into node_modules (Your Lib) - Note Replit Won't Show Where to Find
Download Latest Version Or Update
If You Want To Use The Latest Version Or Update Then Go To Terminal Or Command Prompt Enter :
npm install neha_khan
Or
npm i neha_khan@latest
If You Want To Test Api
Benefits For This You Will Not Spend Time Paying Acc And Have Acc
Use it with a Demo Account => Facebook Whitehat Accounts.
Using
const login = require("neha_khan");
login({email: "Gmail Account", password: "Your Facebook Password"}, (err, api) => {
if(err) return console.error(err);
api.listenMqtt((err, message) => {
api.sendMessage(message.body, message.threadID);
});
});
As a result, it will copy you as shown below:
If You Want Advanced Use Then Use Bot Types Listed Above !
List
You Can Read Full Api At => here.
Install For Main:
You need to go to file Mirai.js, Then Find Line
var login = require('neha_khan');
And Replace It With:
var login = require('neha_khan')
Then Run As Normal!
Save Login Information.
To Save You Need 1 Apstate Type (Cookie, etc,..) To Save Or Use Login Code As Above To Login !
And This Mode Is Available In Some Bots In Vietnam So You Can Rest assured!
Guide With Appstate
const fs = require("fs");
const login = require("neha_khan");
var credentials = {email: "FB_EMAIL", password: "FB_PASSWORD"};
login(credentials, (err, api) => {
if(err) return console.error(err);
fs.writeFileSync('appstate.json', JSON.stringify(api.getAppState(), null,'\t'));
});
Or Easier (Professional) You Can Use => c3c-fbstate To Get Fbstate And Rename It To Apstate Is Also ! (appstate.json)
FAQS
FAQS => Link