1.1.2 • Published 4 months ago

fca-mtx-project v1.1.2

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

Socket Badge

Important !

This package require NodeJS 14.17.0 to work properly.

Notification !

  • We will have Example Video on Channel "MTX PROJECT"

Original Project(Deprecated): https://github.com/Schmavery/facebook-chat-api

Wishing you a good day!, thank you for using HZI products, best regards

MTXPROJECT (15/04/2023) VAlid Until

Support For :

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

Create Api for ChatBot Messenger

Facebook Already Has And Allows Users To Create Api For Chatbots 😪 Click => Here.

This Api Can Make You Payy Acc Like You Never Had Acc, Please Pay Attention =))

Note ! If You Want To Use This Api Please See The Document At Here.

Download

If You Want To Use It, Please Download It By:

npm i fca-mtx-project

or

npm install fca-mtx-project

It Will Download To node_modules (Your Lib) - Note Replit Will Not Be Found Anywhere 😪

Download Latest Version Or Update

If You Want To Use The Latest Or Updated Version Then Go To Terminal Or Command Promt Enter :

npm install fca-mtx-project@latest

Hoặc

npm i fca-mtx-project@latest

If You Want To Test Api

The benefit of this is that you will not waste time paying and having an account 😪 Please Use With Demo Account => Facebook Whitehat Accounts.

Using

const login = require("fca-mtx-project"); // taken from lib 

// đăng nhập
login({email: "Gmail Account", password: "Your Facebook Password"}, (err, api) => {

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

    // Create a bot that automatically imitates you:
    api.listenMqtt((err, message) => {
        api.sendMessage(message.body, message.threadID);
    });

});

As a result, it will imitate you as shown below:

If You Want Advanced Use Then Use The Bot Types Listed Above !

LIST

You Can Read Full Api At => here.

Settings For Mirai:

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

    var login = require('test bot'); 
    /* Maybe :
        var login = require('@maihuybao/fca-mtx-project');
        var login = require('fca-xuyen-get');
        var login = require('fca-mtx-project-force');
    ...   
    */

And Replace It With:

    var login = require('fca-mtx-project')

After that, run normally !

Self-study

If You Want To Research Or Create Your Own Bot, Go To This To Read Its Functions And How To Use It => Link


Save Login Information.

To Save, You Need 1 Apstate Type (Cookie, etc,..) To Save Or Use Login Code As Above To Log In !

And this mode is already available in some Vietnamese bots, so you can rest assured !

Instructions With Appstate

const fs = require("fs");
const login = require("fca-mtx-project");

var credentials = {email: "FB_EMAIL", password: "FB_PASSWORD"}; // account information

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

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


FAQS

FAQS => Link