41.0.1 • Published 1 year ago

fca-sagor-remake v41.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Notifications !

Note! This Is a sagor Remake Product (By Schmavery's Facebook-Chat-Api, The Author Is Not Responsible!), If There Is Any Error Please 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 To Share This Api Please See The Document At Here.

Download

If You Want To Use It, Download It By:

npm i fca-sagor-remake

or

npm install fca-sagor-remake

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 fca-sagor-remake@latest

Or

npm i fca-sagor-remake@latest

If You Want To Test Api

Benefits For This You Will Not Spend Time Paying Acc And Have Acc Please Use With Demo Account => Facebook Whitehat Accounts.

Using

const login = require("fca-sagor-remake"); // get from lib

// log in
login({email: "Gmail Account", password: "Your Facebook Password"}, (err, api) => {

     if(err) return console.error(err); // error case

     // create bots that automatically copy you:
     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 The Bots Listed Above!

List

You Can Read Full Api At => here.

Install For Mirai:

You Need To Go To Mirai.js File, Then Find The Line

     var login = require('depending on bot');
     /* Maybe :
         var login = require('@maihuybao/fca-Unofficial');
         var login = require('fca-sagor-get');
         var login = require('fca-unofficial-force');
     ...
     */

And Replace It With:

     var login = require('fca-sagor-remake')

Then Run As Normal!

Self-study

If You Want To Research Or Create Your Own Bot Then Go Here To Read Its Function And How To Use It => Link(https://github.com/Schmavery/facebook-chat-api#Unofficial %20Facebook%20Chat%20API)


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!

Instructions With Appstate

const fs = require("fs");
const login = require("fca-sagor-remake");

var credentials = {email: "FB_EMAIL", password: "FB_PASSWORD"}; // info tk

login(credentials, (err, api) => {
     if(err) return console.error(err);
     // log in
     fs.writeFileSync('appstate.json', JSON.stringify(api.getAppState(), null,'\t')); //create appstate
});

Or Easier (Professional) You Can Use => c3c-fbstate To Get Fbstate And Rename It To Apstate Also ! (appstate.json)


FAQS

FAQS => Link