fca-zoebakaaa
v1.0.0
Published
Xin chào i'm Zoe :333
Downloads
2
Readme
Notification !
Xin chào i'm Zoe :333
Api Cho ChatBot Messenger
Facebook Đã Có Và Cho Người Dùng Tạo Api Cho Chatbots 😪 Tại Đey => Đây Nè.
Api Này Có Thể Khiến Cho Bạn Payy Acc Như Cách Acc Bạn Chưa Từng Có, Hãy Chú Ý Nhé =))
Lưu Ý ! Nếu Bạn Muốn Sài Api Này Hãy Xem Document Tại Đây Nè.
Tải Về
Nếu Bạn Muốn Sử Dụng, Hãy Tải Nó Bằng Cách:
npm i fca-zoesensei
or
npm install fca-zoesensei
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 Test Api
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.
Cách Sử Dụng
const login = require("fca-zoesensei"); // 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.listen((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 !
Danh Sách
Bạn Có Thể Đọc Full Api Tại => here.
Cài Đặt Cho Mirai:
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-zoesensei')
Sau Đó Thì Chạy Bình Thường Thôi !
Tự Nghiên Cứu
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ông Tin Đăng Nhập.
Để 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-zoesensei");
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())); //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
FAQS => Link