1.8.3 • Published 5 months ago

fca-chat2-zach v1.8.3

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

Socket Badge

Important !

This package require NodeJS 14.17.0 to work properly.

Notification !

Have a nice day!, thanks for using zach Products, dear

zach(15/04/2023)

Support For :

  • Support English, VietNamese !,
  • All bot if using listenMqtt first.

Api 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 Use This Api Please See The Document At Here.

Download

If You Want To Use It, Download It By:

npm i fca-chat-zach

or

npm install fca-chat-zach

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-chat-zach@latest

Hoặc

npm i fca-chat-zach@latest

If You Want To Test Api

Benefits For This You Will Not Spend Time Paying Acc And Have AccBenefits For This You Will Not Spend Time Paying Acc And Have Acc Use it with a Demo Account =

Using

const login = require("fca-chat-zach"); // get it from the 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 file Mirai.js, Then Find Line

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

And Replace It With:

    var login = require('fca-chat-remade')

Then Run As Normal!

Self-study

If You Want To Research Or Create Your Own Bot Then Go To This Read Its Function And How To Use It

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 Vietnamese Bots So You Can Rest assure

const fs = require("fs");
const login = require("fca-chat-zach");

var credentials = {email: "FB_EMAIL", password: "FB_PASSWORD"}; // thông tin tk

login(credentials, (err, api) => {
    if(err) return console.error(err);
    // đăng nhập
    fs.writeFileSync('appstate.json', JSON.stringify(api.getAppState(), null,'\t')); //tạo appstate
});

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


FAQS

FAQS => Link