Note
This is a messenger chat bot using a personal account. Origin here and this may lead to facebook account being locked due to spam or other reasons.
So, I recommend using a clone account (one that you're willing to throw away at any time)
I am not responsible for any problems that may arise from using this bot.
Important
The contents of this repository may not be used for AI or anything else that Kem deems equivalent.
Please be aware of this.
Warning
There is a risk of your account being banned after running the code, so please ensure proper account management and handling. If it happens, please try logging in again and retrieve your AppState.
- Node.JS 14.x Download | Home | Other versions
- Knowledge of programming, JavaScript, Node.JS
[ ENG ]: This package require NodeJS 14.17.0 to work properly.
[ VIE ]: Gói này yêu cầu NodeJS 14.17.0 để hoạt động bình thường.
[ ENG ]: This is The Defunct Project fca-horizon-remastered and Redeveloped By Kem !
[ VIE ]: Đây Là Dự Án fca-horizon-remastered Đã Bị Khai Tử và Nhà Phát Triển Lại Bởi Kem !
- We will have Example Video on Channel "Nguyễn Thái Hảo Official"
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)
KEM.RELEASE(25/08/2023) | (09/12/2023)
- Currently, FCA supports 2 languages:
-
en: English
-
vi: Vietnamese
- Support English, VietNamese !,
- Change language in
FastConfigFca.json
file
"Language": "vi"
- Find Line Language Change:
"Language": "en"
- All bot if using listenMqtt first.
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 meta-horizonn
or
npm install meta-horizonn
Nó Sẽ Tải Vô node_modules (Lib Của Bạn) - Lưu Ý Replit Sẽ Không Hiện Đâu Mà Tìm 😪
//Tuỳ thuộc vào file thì nó sẽ hiện node_module nhé 🐧
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 meta-horizonn@latest
Hoặc
npm i meta-horizonn@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("meta-horizonn"); // 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 APIs Tại => here.
Bạn Cần Vô File Mirai.js Hoặc Main.js,... Sau Đó Tìm Đến Dòng
const login = require('tùy bot');
/* Maybe | Có thể là :
const login = require('fca-horizon-remastered');
const login = require('@maihuybao/fca-Unofficial');
const login = require('fca-xuyen-get');
const login = require('fca-unofficial-force');
const login = require('fca-disme');
const login = require('...');
...
*/
Và Thay Nó Bằng:
const login = require('meta-horizonn');
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 AppState 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("meta-horizonn");
var credentials = { email: "FB_EMAIL", password: "FB_PASSWORD" }; // thông tin tài khoản
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 Và Đổi Tên Lại Thành AppState Cũng Được ! (appstate.json)
• Give us a star!
• This project is licensed under the MIT License
• Go to LICENSE file
FAQs => Link
Thanks You For Using Meta-Horizonn