Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/imbaggaarm/go-messenger

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/imbaggaarm/go-messenger

  • v1.0.7
  • Source
  • Go
  • Socket score

Version published
Created
Source

go-messenger License GitHub version

A Facebook Messenger API wrapper written in Golang, alternative to pymessenger.

Features

Getting Started

Installation

go get -u github.com/imbaggaarm/go-messenger

Example

import messenger "github.com/imbaggaarm/go-messenger"

apiVersion :=  messenger.DefaultApiVersion // or the version that you want
bot = messenger.NewBot(accessToken, apiVersion)

textMessage := "Hello! Can you hear me?"
bot.sendTextMessage(recipientId, textMessage)

Usage

  • fb-stranger-bot is a template project for chat-with-stranger chatbot.
  • VNUChatbot is a chat-with-stranger chatbot for university students.

Other

Future of go-messenger

There are a lot of missing functions in this package, I'm planning to make this better and better in the future. Here are some things will be implemented soon:

  • Attachment with file messages

Contact

Follow and contact me on Twitter. If you find an issue, just open a ticket. Pull requests are warmly welcome as well.

FAQs

Package last updated on 13 Mar 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc