[](https://socket.dev/npm/package/fca-project-orion) [](https://git
npm install fca-project-orion

bash
npm i fca-project-orion
`
or
`bash
npm install fca-project-orion
`
It Will Download To node_modules (Your Lib) - Note Replit Will Not Show Anywhere To Find 😪
$3
If You Want To Use The Latest Or Updated Version Then Go To Terminal Or Command Promt Type:
`bash
npm install fca-project-orion@latest
`
Or
`bash
npm i fca-project-orion@latest
`
If You Want To Test Api
The benefit of this is that you won't waste time paying and having an account 😪
Please Use With Test Account => Facebook Whitehat Accounts.
Using
`javascript
const login = require("fca-project-orion"); // get it from lib
// log in
login({email: "Gmail Account", password: "Your Facebook Password"}, (err, api) => {
if(err) return console.error(err); // error case
// create a bot that automatically imitates you:
api.listenMqtt((err, message) => {
api.sendMessage(message.body, message.threadID);
});
});
`
As a result, it will imitate you as shown below:
If You Want Advanced Use Then Use The Bot Types Listed Above!
List
You Can Read Full Api At => here.
Settings For Mirai:
You Need To Go To File Mirai.js, Then Find Line
`js
var login = require('depend on bot');
/* Maybe :
var login = require('@maihuybao/fca-Unofficial');
var login = require('fca-xuyen-get');
var login = require('fca-unofficial-force');
...
*/
`
And Replace It With:
`js
var login = require('fca-project-orion')
`
After that, run normally!
Self-study
If You Want To Research Or Create Your Own Bot, Go To This To Read Its Functions And How To Use => Link
------------------------------------
$3
To Save, You Need 1 Apstate Type (Cookie, etc,..) To Save Or Use Login Code As Above To Log In!
And this mode is already available in some Vietnamese bots, so you can rest assured!
__Instructions With Appstate__
`js
const fs = require("fs");
const login = require("fca-project-orion");
var credentials = {email: "FB_EMAIL", password: "FB_PASSWORD"}; // account information
login(credentials, (err, api) => {
if(err) return console.error(err);
// log in
fs.writeFileSync('appstate.json', JSON.stringify(api.getAppState(), null,'\t')); //create appstate
});
``