Easy-to-understand demo of Imagemap Message of LINE Messaging API [PHP] [Ruby] [Python]

Messaging API Imagemap Message

It's fun is not it. LINE Bot. Since I often get questions related to Imagemap Message of LINE Messaging API, I created a service that allows you to understand the concept and source code in a browser.

Frequently Asked Questions

What I made

Messaging API Imagemap Generator [LINE Messaging API Imagemap Message Generator(Unofficial)](https://imagemap-generator.herokuapp.com/)

Generate the code to send and display the Imagemap by dragging. Languages are PHP, Ruby, Python.

An image like a shopping site is included by default. You can replace it with your favorite image.

Just as you can drag an image to create an area and set actions, playing with each setting will change the code below (PHP, Ruby, Python only) to one that defines coordinates and actions.

The code also includes a mechanism to resize and return one image, and a mechanism to prevent the image from being cached. If you have an account on Heroku, deploy it from Github and put your bot's in the environment variable and it should work.

What you are using

PHP

Ruby

Python

Mostly plagiarism from the sample code of LINE Bot SDK. Thank you very much.

Github

Github for each language project is here.

Caution

You can resize it, but it goes without saying that it's best to have a static image.

Recommended Posts

Easy-to-understand demo of Imagemap Message of LINE Messaging API [PHP] [Ruby] [Python]
PHP / Python / Ruby sample hitting Path API
[LINE Messaging API] Create a rich menu in Python
[Python] Using Line API [1st Creation of Beauty Bot]
Various memorandums when using sdk of LINE Messaging API with Python (2.7.9) + Google App Engine
[LINE Messaging API] Create parrot return BOT with Python
I made LINE-bot with Python + Flask + ngrok + LINE Messaging API
[LINE Messaging API] Issue channel access token v2.1 in Python
I made a Chatbot using LINE Messaging API and Python
Java VS PHP VS Python VS Ruby
About Perl, Python, PHP, Ruby
[LINE Messaging API] Create a BOT that connects with someone with Python
I made a Chatbot using LINE Messaging API and Python (2) ~ Server ~
LINE BOT (Messaging API) development with API Gateway and Lambda (Python) [Part 2]
Dynamic proxy with python, ruby, PHP
I tried hitting Mastodon API with Ruby (Faraday) / Python (Pycurl) / PHP (Curl)