push-flex-hello.pl - example script for push a Flex Message
$ export CHANNEL_SECRET=YOUR CHANNEL SECRET $ export CHANNEL_ACCESS_TOKEN=YOUR CHANNEL ACCESS TOKEN $ perl push-flex-hello.pl <TO_ID>
Flex Message: https://developers.line.me/en/docs/messaging-api/reference/#flex-message
Copyright 2016 LINE Corporation
This Software Development Kit is licensed under The Artistic License 2.0. You may obtain a copy of the License at https://opensource.org/licenses/Artistic-2.0
To install LINE::Bot::API, copy and paste the appropriate command in to your terminal.
cpanm
cpanm LINE::Bot::API
CPAN shell
perl -MCPAN -e shell install LINE::Bot::API
For more information on module installation, please visit the detailed CPAN module installation guide.