Skip to content

michaeljymsgutierrez/git-messenger-webhook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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: "[email protected]" //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 😃