package
0.0.0-20240930133758-216256f3c2ff
Repository: https://github.com/webitel/chat_manager.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# README

Meta Messenger Bot API

The Messenger Bot's Pages APIs are available thru HTTP GET /{bot-callback-uri}
endpoint with specified URL ?query= parameters as described below:

GET /$callbackURIDescription
?pages=setupAdd or Remove Messenger Pages (Accounts)
on behalf of the Page's Administrative Role
?pages=[search[&id=]]Shows list of engaged Page(s) with it's Accounts
?pages=subscribe[&id=]Subscribes Bot's Webhook on Page's update events.
Activate Pages
?pages=unsubscribe[&id=]Unsubscribes Bot's Webhook from Page's update events.
Deactivate Pages
?instagram=setupAdd or Remove Instagram Pages (Accounts)
on behalf of the Page's Administrative Role
?instagram=[search[&id=]]Shows list of engaged Page(s) with it's Accounts

This type of chat client provider may be customized with a several parameters, type of string value.

WARN: Instagram NOT working while your App is in Development Mode !!!

MetadataValueUsage
client_idREQUIRED. App-ID.Client Authentication.
client_secretREQUIRED. App-Secret.Client Authorization.
instagram_commentsOPTIONAL. Default: "false".Forward comment(s) on your Instagram media posts into chat ?
text: #comment
[variables]:
instagram.comment: $comment.text
instagram.comment.link: $comment.link
instagram_mentionsOPTIONAL. Default: "false".Forward @mention(s) of you in Instagram media posts or comments into chat ?
text: #mention
[variables]:
instagram.mention: $mention.text
instagram.mention.link: $mention.link
instagram_story_mentionsOPTIONAL. Default: "false".Forward @mention(s) of you in Instagram Stories into chat ?
text: #story_mention
[variables]:
instagram.story.mention: $story.caption
instagram.story.mention.link: $story.permalink

This type of chat client provider also propagates the following variables for each chat channel to help you identify which of your Account Page(s) the sender is contacted:

VariableDescription
facebook.page[A]pp-[s]coped Facebook Account Page unique [ID]entifier
facebook.nameFacebook Account Page Name
instagram.page[I]nsta[G]ram-[s]coped Account Page unique [ID]entifier
instagram.userUsername of the Instagram Professional or Business Account