Skip to content

DDev247/lunafrost-messenger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lunafrost-messenger

General purpose bot for Messenger

What is this

This is a custom bot for Meta Messenger, made using Puppeteer with Typescript and Node.js. It uses Puppeteer to send messages and receive them.

How to use

This is a experimental bot. Your account may or may not be suspended because of this. Use with caution

It might also break randomly when the site is updated because selectors will be broken. You can fix it yourself or wait for me to fix it

With that out of the way, here's how to get it running:

Clone the git repo

git clone https://github.com/DDev247/lunafrost-messenger.git

or

git clone git@github.com:DDev247/lunafrost-messenger.git

Install npm packages

npm install

or pnpm or whatever you use (I only tested with npm)
Don't run it yet though! We have to set up the login JSON

Set up login.json

Create a file called login.json in the assets folder
Enter this:

{
    "email": "",
    "pass": "",
    "group": ""
}

and change the email, pass and group to match your needs:
email: The email address for your Facebook/Messenger account (ex example@example.org)
pass: The password for your account
group: The URL for your group/chat (ex https://www.messenger.com/t/1234567890123456)

Run the bot

The bot should now work. Run it with this command in the root of the project

npm start

About

General purpose bot for Messenger

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published