Skip to content

l# Shaon-Project [ "๐—ฆ๐—ต๐—ฎ๐—ผ๐—ป ๐—”๐—ต๐—บ๐—ฒ๐—ฑ", "FB: https://facebook.com/Hey.Its.Me.Shaon.Ahmed", "I'm addicted to Messenger Bot ๐—ฆ๐—ต๐—ฎ๐—ผ๐—ป ๐—”๐—ต๐—บ๐—ฒ๐—ฑ", "I'm ๐—ฆ๐—ต๐—ฎ๐—ผ๐—ป ๐—”๐—ต๐—บ๐—ฒ๐—ฑ can you follow me ilove my forkers", "Hi forkers It's me ๐—ฆ๐—ต๐—ฎ๐—ผ๐—ป ๐—”๐—ต๐—บ๐—ฒ๐—ฑ"

License

shaonproject/fca-shaon-project

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Socket Badge Awesome

Important !

[ 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.

Notification !

Support Language :

  • English
  • VietNamese
  • Tagalog
  • Cebuano(Bisaya)

Api For ChatBot Messenger

Facebook already exists and allows users to create Api for Chatbots ๐Ÿ˜ช Here => Here.

Download

If You Want To Use It, Download It By:

npm i fca-shaon-project

or

npm install fca-shaon-project

It Will Download To node_modules (Your Lib) - Note Replit Will Not Show Anywhere To Find ๐Ÿ˜ช

Download Latest Version Or Update

If You Want To Use The Latest Or Updated Version Then Go To Terminal Or Command Promt Type:

npm install fca-shaon-project@latest

Or

npm i fca-shaon-project@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

const login = require("fca-shaon-project"); // 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: screen shot 2016-11-04 at 14 36 00 screen shot 2016-11-04 at 14 36 00 screen shot 2016-11-04 at 14 36 00

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

     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:

     var login = require('fca-shaon-project')

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](https://github.com/Schmavery/facebook-chat-api#Unofficial %20Facebook%20Chat%20API)


Save Login Information.

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

const fs = require("fs");
const login = require("fca-shaon-project");

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
});

Or Easier (Professional) You Can Use => c3c-fbstate To Get Fbstate And Rename It Back To Apstate! (appstate.json)


FAQS

FAQS => Link

About

l# Shaon-Project [ "๐—ฆ๐—ต๐—ฎ๐—ผ๐—ป ๐—”๐—ต๐—บ๐—ฒ๐—ฑ", "FB: https://facebook.com/Hey.Its.Me.Shaon.Ahmed", "I'm addicted to Messenger Bot ๐—ฆ๐—ต๐—ฎ๐—ผ๐—ป ๐—”๐—ต๐—บ๐—ฒ๐—ฑ", "I'm ๐—ฆ๐—ต๐—ฎ๐—ผ๐—ป ๐—”๐—ต๐—บ๐—ฒ๐—ฑ can you follow me ilove my forkers", "Hi forkers It's me ๐—ฆ๐—ต๐—ฎ๐—ผ๐—ป ๐—”๐—ต๐—บ๐—ฒ๐—ฑ"

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%