https://github.com/michaeljymsgutierrez/git-messenger-webhook
A simple git webhook event notification for facebook messenger.
https://github.com/michaeljymsgutierrez/git-messenger-webhook
bash facebook facebook-chat-api facebook-messenger fastify git nodejs pm2 shelljs webhook
Last synced: 17 days ago
JSON representation
A simple git webhook event notification for facebook messenger.
- Host: GitHub
- URL: https://github.com/michaeljymsgutierrez/git-messenger-webhook
- Owner: michaeljymsgutierrez
- License: mit
- Created: 2018-07-19T01:39:20.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-09T13:44:11.000Z (over 2 years ago)
- Last Synced: 2025-04-05T01:11:11.228Z (about 1 month ago)
- Topics: bash, facebook, facebook-chat-api, facebook-messenger, fastify, git, nodejs, pm2, shelljs, webhook
- Language: JavaScript
- Homepage:
- Size: 293 KB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Git Messenger Webhook
A simple git webhook event notification for facebook messenger.
- [x] Github Webhook
- [x] Gitlab Webhook
- [ ] Bitbucket Webhook1. _**clone**_ this repo and do _**npm install**_
2. install _**pm2**_ package `npm install pm2 -g`
3. create _**.env**_ file and type `disable otp password in facebook login````
EMAIL: "[email protected]" //fb email
PASSWORD: "facebookpassword" //fb password
TITLE: Chatbot Name //chatbot name
WEBHOOK_PORT="3005" //preferred port
```
4. Start _**pm2**_ process and then _**save**_
`pm2 start webhook.js --name webhook-name` &
`pm2 save`

5. Go to webhook __**Settings->Integrations->URL**__
`http://yourserverip:port/integrate/webhook/messengerGroupChatID`
- Group Chat ID shown on the parameter of messenger.com when you select the specific groupchat._sample_
`http://182.232.34.23:3005/integrate/webhook/1818601588228287` or
`http://gitmessengerchatbot.com:3005/integrate/webhook/1818601588228287`
6. Try it yourself :smiley:
