https://github.com/darwin808/auto-facebook
Auto facebook message
https://github.com/darwin808/auto-facebook
cron facebook messenger rest-api
Last synced: about 1 year ago
JSON representation
Auto facebook message
- Host: GitHub
- URL: https://github.com/darwin808/auto-facebook
- Owner: darwin808
- Created: 2022-09-08T02:36:05.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-11-09T04:23:04.000Z (over 3 years ago)
- Last Synced: 2023-03-03T21:22:46.103Z (over 3 years ago)
- Topics: cron, facebook, messenger, rest-api
- Language: TypeScript
- Homepage:
- Size: 83 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Automatic Facebook Messaging
## ⚡ Quickstart
### Install and run the app
```jsx
yarn install && yarn dev
```
### Edit the .env
```jsx
EMAIL=YOUR_EMAIL
PASS=YOUR_PASSWORD
MESSENGER=https://m.facebook.com/messages/read/?tid=cid.c.100*********************
```
### Copy and Past this in address bar of browser
```jsx
localhost:3000/api/messenger?q=your message
```
## 🎯 Features
- Message someone in facebook using rest api
## 💡 Goal of this Project
- Be able to message someone in facebook even AFK / applying CRON jobs
## ⚠️ Limitations
- Loading time approx ~10 seconds
- When deployed to production will error due to ip restriction of facebook (need to confirm first in facebook UI to proceed )
## Deploying to Production
- You can deploy the app to certain endpoint (heroku, aws, gcp, etc )
### Commands
```jsx
yarn build && yarn start
```