LINE Engineering
Blog

  • Using LINE Notify to send stickers and upload images
    LINE 2016.11.30

    LINE Dev

    Hi, my name is Hasebe. I'm in charge of the development of LINE Notify.

    In a previous post, we introduced how you can use LINE Notify to send messages to LINE from the command-line. Today, I'm going to introduce two features newly implemented in the LINE Notify API. One is sending stickers and the other is uploading images.

    Sending stickers

    The use case demonstrated in the previous post was sending a build result from Jenkins to LINE by using LINE Notify. In that use case, an image of Moon laughing was used to show how it can notify us of a build failure. It was during that time that we came to wonder, "why not make LINE Notify send stickers as well as images?"

    We thought that sending stickers would make LINE Notify more "LINE-ish." That's why we decided to develop this feature.

    Sending stickers from the command-line

    Let's try sending a sticker by using the curl command.

    $ curl -X POST https://notify-api.line.me/api/notify -H 'Authorization: Bearer
    YOUR_PERSONAL_ACCESS_TOKEN' -F 'message=test' -F 'stickerPackageId=1' -F 'stickerId=113'
    

    LINE Notify

    Read More

  • Automated Testing Using the LINE Ad SDK
    LINE 2016.11.24

    LINE Engineering

    This post introduces how to run tests with the ad client module provided for the LINE Platform. The LINE ad client module runs on both mobile and the web. This post will focus on testing with a mobile client.

    LINE Ads Platform overview

    The structure of the LINE Platform is quite simple as shown below. Various types of protocols can be used for server-client communications. This post will focus on testing with the HTTP protocol.

    Ad SDK

    Read More

  • LINE TODAY Service - True Agile development
    Marco Chen & Rita Yang 2016.11.14

    Marco Chen: He is a director of the LINE Taiwan engineering office. He is interested in the softeware development process and system architecture in which he has 18 years of experience. Rita Yang: She is a backend engineer working at LINE to design and implement backend systems for LINE services.

    Introduction

    In this blog post, I'd like to explain how the LINE TODAY service was developed using the Agile development method. LINE TODAY is a mobile news service that was released in Taiwan, Thailand, Indonesia, Myanmar, and the United States in early 2016. As of July 30, 2016, the service recorded nearly 30M daily PV (page views). In Japan, a service similar to LINE TODAY is available under the name of LINE NEWS.

    LINE TODAY Agile

    Read More

  • Panel discussion at GitHub Universe 2016
    Inami Yasuhiro (Inamiy) 2016.11.09

    An iOS developer at LINE. A lover of functional programming.

    Hello, my name is Inami (@inamiy), a member of the LINE development team. In this post, I'll be sharing my experience from being a part of the panel discussion at GitHub Universe 2016.

    About GitHub Universe 2016

    GitHub Universe 2016 took place during September 13-15 at Pier 70 in San Francisco.
    Inside the refurbished warehouse, now conference hall, gathered over 1500 developers, technology and business leaders. Beginning with a keynote presentation from GitHub cofounder and CEO Chris Wanstrath, over 40 speakers from all over the globe gave talks on various open source projects and business activities.

    I was invited as the sole Japanese member at the panel discussion.

    Below are some photos from the event.

    Here is Pier 70, the event venue, and Octocat looking down from above the roof.

    GitHub Universe GitHub

    Read More

  • Using LINE Notify to send messages to LINE from the command-line
    Watanabe Hirofumi 2016.11.01

    He is in charge of the development of LINE Notify. 

    Foreword

    Hi, my name is Watanabe and I'm in charge of the development of LINE Notify. In this post, I'd like to share how developers can use LINE Notify to send messages to LINE straight from the command-line.

    Up until now sending system messages to LINE either required a Bot API Trial or Business Connect account. While both are improved by Messaging API and provide many great features, they require a high level of implementation.

    LINE Notify is an API that has a limited set of features, streamlining the whole process of sending messages to LINE.

    Sending messages using cURL

    By generating your own "personal access token" through LINE Notify, you can send messages by sending an HTTP POST request to the API endpoint. Any method can be used as long as it uses an HTTP request. In this post, let's go over how you can use the HTTP client cURL.

    LINE Notify

    Read More