GitHunt
MI

michaeljymsgutierrez/git-messenger-webhook

A simple git webhook event notification for facebook messenger.

Git Messenger Webhook gitmessengerchatbot

A simple git webhook event notification for facebook messenger.

  • Github Webhook
  • Gitlab Webhook
  • Bitbucket Webhook
  1. 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: "facebookemail@gmail.com" //fb email
  PASSWORD: "facebookpassword"     //fb password
  TITLE: Chatbot Name              //chatbot name
  WEBHOOK_PORT="3005"              //preferred port
  1. Start pm2 process and then save
    pm2 start webhook.js --name webhook-name &
    pm2 save

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

  1. Try it yourself ๐Ÿ˜ƒ

Languages

JavaScript100.0%

Contributors

MIT License
Created July 19, 2018
Updated May 24, 2022