push_imagemap-template.pl - example script for push message (imagemap/template)
$ export CHANNEL_SECRET=YOUR CHANNEL SECRET $ export CHANNEL_ACCESS_TOKEN=YOUR CHANNEL ACCESS TOKEN $ export IMAGEMAP_IMAGE_URL=https://example.com/images/cats $ export TEMPLATE_IMAGE_URL=https://example.com/images/template_image.jpg $ perl push_imagemap-template.pl <TO_ID> <SEND_TEXT_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.