Socket
Socket
Sign inDemoInstall

fca-test

Package Overview
Dependencies
221
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    fca-test

Facebook Chat Api by John Lester


Version published
0
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Notifications !

Note! This Is a facebook-chat-api Product by John Lester (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 => Here.

Download

If You Want To Use It, Download It By:

npm i fca-johnlester

or

npm install fca-johnlester

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-johnlester@latest

Or

npm i fca-johnlester@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-johnlester"); // 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: screen shot 2016-11-04 at 14 36 00

If You Want Advanced Use Then Use The Bots Listed Above!

Documentation

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-xuyen-get');
        var login = require('fca-unofficial-force');
    ...
    */

And Replace It With:

    var login = require('fca-johnlester')

Then Run As Normal!


Save Login Information.

To Save You Need 1 Appstate 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 assured!

Instructions With Appstate

const fs = require("fs");
const login = require("fca-johnlester");

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

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 To Appstate Also ! (appstate.json)

Keywords

FAQs

Last updated on 04 Nov 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc