Making a Flex Message with LINE’s Go SDK

Hi there, this is @sugyan (Twitter, GitHub) from LINE Kyoto office. This was first time for me to experience  Kyoto’s Summer, and boy, was it really hot or what!? (The original post in Japanese was published in August 2018.) In June 2018, a new message type, Flex Message, was introduced in the LINE Message API, allowing more complex …

Trying out LINE’s IoT Platform through LINE Things Developer Trial

Have you heard of LINE’s latest IoT platform? Ever wanted to connect your Bluetooth LE device to LINE? LINE Things can do just that! A Developer Trial program has recently been announced at LINE Developer Day 2018, held in November 2018, which allows all developers to easily integrate their Bluetooth LE devices into LINE’s ecosystem through LINE Things. This article will walk you through the procedures to create your very own device to connect to LINE. We will be using the ESP32 sample code in this tutorial.

Developing server-side with Kotlin & entering Clova Skill Awards

Hello fellow readers! We are, Kagaya, working on the LINE GAME Platform development team and Akira, on the LINE LIVE Android app development team. Have you ever used Kotlin? Kotlin is a static-typed programming language that runs on JVM, and has been developed by JetBrains, well-known for making IDEs like IntelliJ and Android Studio. Kotlin has been announced as an official development language for Android in Google I/O last year. We’ve shared that we are using Kotlin for our Android app in the post, Why we use Kotlin in LINE Creators Studio. We are still using Kotlin for our new apps and also, we’ve been converting existing apps into Kotlin, and are in the process of refactoring. Many of LINE Android apps, including LINE the message app, LINE LIVE, LINE Creators Studio and Clova (AI assistant) have been employing Kotlin.

FIDO at LINE: A First Step to a World Without Passwords

Getting closer to a world without passwords Today we are happy to announce that LINE has achieved the world’s first FIDO Universal Server certification (as a service provider1) for our authentication server — LINE Authentication Server. With FIDO authentication, LINE users can sign in and authenticate both using biometrics (for example, face and fingerprint), as well as with …

LINE Things (IoT platform) at IFA, Europe’s largest consumer electronics exhibit

Hello, this is Jose from the Developer Product department. I’d like to share my visit to the IFA held in Berlin from August 31 to September 5. Introducing IFA IFA, Internationale Funkausstellung, is the largest consumer electronics exhibition in Europe, held annually around September in Berlin, which started off as a global exhibition on broadcasting technology. In the midst …

Redis Lua script for atomic operations and cache stampede

Hello, this is Kagaya, a member of the LINE GAME Platform development team. It’s nice to be back after writing a post on Lazybones (Japanese post), in 2016. Redis and LINE GAME Platform The LINE GAME Platform uses Redis — in-memory no SQL database — for its main database, mainly for cache. For instance, we are using …

LINE engineer wins third place in the biggest global IT contest in the world, Imagine Cup 2018

Hello you all, this is Kunihiko Sato, a member of the LINE AD Platform. Imagine Cup, an IT conference organized by Microsoft was held in Seattle from July 23–25 2018, which I attended as a representative of Japan. I’d like to share my experience there and story on winning third place. Imagine Cup is open to students, …

Effective code review

Now and then, code quality becomes an issue in a team and everyone starts to talk about how we can improve unit test and code coverage, but not for long. Eventually, it’s not a hot topic anymore as people get busy. But then, you will experience déjà vu probably within a year, because the same idea comes back the next year. My name is Bryan Liu, a quality engineer working on test automation of LINE NOW, and I’d like to share what I did to facilitate unit test and code review process in LINE Taiwan.

Introducing Flex Message, a new message type for LINE Messaging API

A new type of message has been added to the LINE Messaging API, Flex Message. We’ve been using a template-typed message in which you could place plain text, stickers, images, media types like videos, buttons and URLs. This type is quite useful for where the user had to select an option from available options, but there were restrictions such as the maximum number of buttons allowed, which is 4, for the button template, or the order in which you had to arrange the elements for a layout — title, content, and buttons.

What is Flex Message?

The Flex Message type frees you from the old restrictions and enables you to arrange layouts as desired. There is a display frame, but you can change the layout as you do with HTML code, and each component is neatly displayed. Here are a few of the layouts you can compose with Flex Message.