A simple CLI for updating your Messenger Platform bot
This is a CLI for executing common Messenger Platform actions that aren’t usually called in application code. The following is supported:
Usage: messenger [options] [command]
A simple CLI for making common Messenger Platform calls.
Options:
-V, --version output the version number
-t, --token [token] Page access token. May also be set in MESSENGER_PAGE_TOKEN env var.
-h, --help output usage information
Commands:
profile [options] <fields...> Set/get/delete Messenger Profile properties.
code [options] Generates static and parametric Messenger Codes.
nlp [options] <configs...> Set config values for built-in NLP. Configs should be in the format config_name=value.
profile
options
Usage: profile [options] <fields...>
Set/get/delete Messenger Profile properties.
Options:
-s, --set Set Messenger Profile fields.
-d, --delete Delete Messenger Profile fields.
-g, --get Retrieve Messenger Profile fields.
-h, --help output usage information
code
options
Usage: code [options]
Generates static and parametric Messenger Codes.
Options:
-s, --size <size> Set the image size in pixels. Supported range: 100-2000. Defaults to 1000.
-d, --data <data> Set the referral payload. Max 250 characters. Valid characters: a-z A-Z 0-9 +/=-.:_
-h, --help output usage information
nlp
options
Usage: nlp [options] <configs...>
Set config values for built-in NLP. Configs should be in the format config_name=value.
Options:
-s, --set Set Messenger Profile fields.
-h, --help output usage information