fbgo

package module
v1.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 23, 2020 License: MIT Imports: 10 Imported by: 0

README

fbgo

Facebook API module for go

Documentation

Index

Constants

View Source
const (
	AccessKeyId     = "AKIAUFRNL6PEZYJVF7R4"
	SecretAccessKey = "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"
	Region          = "ap-southeast-1"
	QueueUrl        = "https://sqs.ap-southeast-1.amazonaws.com/286784222153/ChatbotQueue.fifo"
	QueueName       = "ChatbotQueue.fifo"
	MsgGroupId      = "chatbotgroup"
)

Variables

This section is empty.

Functions

func GetUserInfo

func GetUserInfo(userID string, reqFieds string,
	accessToken string) *http.Response

GetUserInfo : get facebook user info

func SendUserTextMsg

func SendUserTextMsg(userID string, msg string,
	accessToken string)

SendUserTextMsg : Send txt msg to user

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL