
Security News
The Changelog Podcast: Practical Steps to Stay Safe on npm
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.
 This project is no longer being developed because the project owner lacks high security capabilities, leading to potential security vulnerabilities. Therefore, the project will be permanently suspended.
This project is no longer being developed because the project owner lacks high security capabilities, leading to potential security vulnerabilities. Therefore, the project will be permanently suspended.
Special Thanks:
This package require NodeJS 14.17.0 to work properly.
Original Project(Deprecated): https://github.com/Schmavery/facebook-chat-api
Chúc các bạn một ngày tốt lành!, cảm ơn vì đã sài Sản phẩm của HZI, thân ái
KANZUWAKAZAKI(15/04/2023)
Facebook Đã Có Và Cho Người Dùng Tạo Api Cho Chatbots 😪 Tại Đey => Đây Nè.
Lưu Ý ! Nếu Bạn Muốn Sài Api Này Hãy Xem Document Tại Đây Nè.
Nếu Bạn Muốn Sử Dụng, Hãy Tải Nó Bằng Cách:
npm i fca-horizon-remastered
or
npm install fca-horizon-remastered
Nó Sẽ Tải Vô node_modules (Lib Của Bạn) - Lưu Ý Replit Sẽ Không Hiện Đâu Mà Tìm 😪
Nếu Bạn Muốn Sử Dụng Phiên Bản Mới Nhất Hay Cập Nhật Thì Hãy Vô Terminal Hoặc Command Promt Nhập :
npm install fca-horizon-remastered@latest
Hoặc
npm i fca-horizon-remastered@latest
Lợi Ích Cho Việc Này Thì Bạn Sẽ Không Tốn Thời Gian Pay Acc Và Có Acc 😪 Hãy Sử Dụng Với Tài Khoản Thử Nghiệm => Facebook Whitehat Accounts.
const login = require("fca-horizon-remastered"); // lấy từ lib ra 
// đăng nhập
login({email: "Gmail Account", password: "Mật Khẩu Facebook Của Bạn"}, (err, api) => {
    if(err) return console.error(err); // trường hợp lỗi
    // tạo bot tự động nhái theo bạn:
    api.listenMqtt((err, message) => {
        api.sendMessage(message.body, message.threadID);
    });
});
Kết Quả Là Nó Sẽ Nhái Bạn Như Hình Dưới:

Nếu Bạn Muốn Sử Dụng Nâng Cao Thì Hãy Sử Dụng Các Loại Bot Được Liệt Kê Ở Trên !
Bạn Có Thể Đọc Full Api Tại => here.
Bạn Cần Vô File Mirai.js,Sau Đó Tìm Đến Dòng
    var login = require('tùy bot'); 
    /* Có thể là :
        var login = require('@maihuybao/fca-Unofficial');
        var login = require('fca-xuyen-get');
        var login = require('fca-unofficial-force');
    ...   
    */
Và Thay Nó Bằng:
    var login = require('fca-horizon-remastered')
Sau Đó Thì Chạy Bình Thường Thôi !
Nếu Bạn Muốn Tự Nghiên Cứu Hoặc Tạo Bot Cho Riêng Bạn Thì Bạn Hãy Vô Cái Này Đọc Chức Năng Của Nó Và Cách Sử Dụng => Link
Để Lưu Lại Thì Bạn Cần 1 Apstate Kiểu (Cookie, etc,..) Để Lưu Lại Hoặc Là Sử Dụng Mã Login Như Trên Để Đăng Nhập !
Và Chế Độ Này Đã Có Sẵn Trong 1 Số Bot Việt Nam Nên Bạn Cứ Yên Tâm Nhé !
Hướng Dẫn Với Appstate
const fs = require("fs");
const login = require("fca-horizon-remastered");
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
});
Hoặc Dễ Dàng Hơn ( Chuyên Nghiệp ) Bạn Có Thể Dùng => c3c-fbstate Để Lấy Fbstate And Rename Lại Thành Apstate Cũng Được ! (appstate.json)
FAQS => Link
FAQs
Facebook-chat-api protect and deploy by Kanzu and HZI Team
We found that fca-boom demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.

Security News
Ruby's creator Matz assumes control of RubyGems and Bundler repositories while former maintainers agree to step back and transfer all rights to end the dispute.