Ryuu-FCA-API - Facebook Chat API
Ryuu-FCA-API is a powerful fork of the Facebook Chat API with significant improvements and new features.
Key Features
1. Enhanced Security Bypass
- Improved automation detection bypass
- Better handling of Facebook's security checks
- Reduced account restrictions
2. Login Improvements
- login via credentials (email/password now works!)
- AppState support maintained
- Fixed region detection
3. Advanced Features
- Random User-Agent generation
- Bypass automation behavior detection
- Improved error handling
- Enhanced session stability
Installation
npm install ryuu-fca-api
Authentication Methods
1. Credentials Login (Now Working!)
login({
email: "your_email",
password: "your_password"
}, (err, api) => {
if(err) return console.error(err);
});
2. AppState Login
login({
appState: JSON.parse(fs.readFileSync('appstate.json', 'utf8'))
}, (err, api) => {
if(err) return console.error(err);
});
Basic Usage
const login = require("ryuu-fca-api");
login({
email: "YOUR_EMAIL",
password: "YOUR_PASSWORD"
}, (err, api) => {
if(err) return console.error(err);
api.setOptions({
forceLogin: true,
listenEvents: true,
logLevel: "silent",
updatePresence: false,
selfListen: false
});
api.listenMqtt((err, event) => {
if(err) return console.error(err);
switch(event.type) {
case "message":
api.sendMessage("Hello!", event.threadID);
break;
}
});
});
Advanced Options
api.setOptions({
forceLogin: true,
listenEvents: true,
logLevel: "silent",
updatePresence: false,
selfListen: false,
userAgent: "user agent here",
autoMarkRead: false,
autoMarkDelivery: true
});
Core Features
Message Operations
- Send/Receive messages
- Handle attachments
- Message reactions
- Thread management
Security Features
- Bypass automation detection
- Random User-Agent
- Region fix implementation
- Enhanced error handling
Session Management
- Multiple login methods
- Session persistence
- Error recovery
Credits
- Jr Busaco - Owner
- Original FCA Authors - Base Framework
- Ryuu Team - Enhanced Features & Fixes
Support
Join our community:
Contact info:
Important Notes
- Login via credentials has been restored and is working
- Random User-Agent helps avoid detection
- Region fix improves connection stability
- Use responsibly to avoid restrictions
License
This project is licensed under the MIT License.
Note: While we've restored many features, please use this API responsibly and in accordance with Facebook's terms of service.