Git Product home page Git Product logo

official-zach-remade's Introduction

Notification !

Attention! This is a product remade by ZACHH, specifically Facebook-Chat-Api (Mod by: Fca-Horizon-Remake (deleted) which includes previous author UIRI and main author: HarryWakazaki, the current author is not responsible for any liabilities!). If there are errors, try using another product!

Support For :

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

API for Messenger ChatBot.

Facebook now has and allows users to create API for chatbots 😪 Check it out here => Here.

This API may cause you to pay for an account like you've never had before, so be careful =)).

Note! If you want to use this API, please check the documentation here Here.

Download

If you want to use it, please download it by:

npm i official-zach-remade

or

npm install official-zach-remade

It will download to your node_modules (your library) - Note that Replit won't show it, just search 😪

Download the latest version or update.

If you want to use the latest version or update, go to the terminal or command prompt and enter :

npm install official-zach-remade@latest

Hoặc

npm i official-zach-remade@latest

If you want to test the API

The benefit of this is that you won't waste time paying for an account and you'll have an account 😪 Please use with a test account => Facebook Whitehat Accounts.

How to use

const login = require("official-zach-remade"); // Retrieve from the library 

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

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

    // Create an automated bot that mimics you:
    api.listenMqtt((err, message) => {
        api.sendMessage(message.body, message.threadID);
    });

});

The result is that it will mimic you like the picture below: screen shot 2016-11-04 at 14 36 00

If you want to use advanced features, use the types of bots listed above!

List

You can read the full API at => here.

Installation for Mirai:

You need to go to the Mirai.js file, then find the line

    var login = require('tùy bot'); 
    /* It may be :
        var login = require('@maihuybao/fca-Unofficial');
        var login = require('fca-xuyen-get');
        var login = require('fca-unofficial-force');
        var login = require('fca-horizon-remake');
    ...   
    */

And replace it with:

    var login = require('fca-kenlie-plays')

Then just run normally!

Self-study

If you want to self-study or create a bot for yourself, go here to read its functions and how to use it => Link


Save login information.

To save, you need an Apstate type (Cookie, etc,..) to save or use a login code as above to login!

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

Guide with Appstate

const fs = require("fs");
const login = require("official-zach-remade");

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

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

Or easier (professional), you can use => c3c-fbstate You can also get Fbstate and rename it to Apstate! (appstate.json)


FAQS

FAQS => Link

official-zach-remade's People

Contributors

kenlieplaysph avatar zachh2 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.