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

  • 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

  • How to provide stable "Loves"
    Kawakami Taiki (moznion) 2016.07.12

    He develops the LIVE service at LINE.

    Hello, my name is Moznion and I'm part of the team working on LIVE: a video-based social media service that connects stars and celebrities to their fans.

    On LIVE, users can watch their favorite stars participating in programs or performing concerts all in real-time. LIVE is currently available on iOS/Android and on PC web browsers, and quickly gaining popularity.

    In this blog post, I'd like to explain how we handle large amounts of consecutive requests sent on LIVE.

    Introduction

    Read More

  • try! Swift Presentation Report
    Inami Yasuhiro (Inamiy) 2016.04.28

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

    Hello everyone, my name is Inami (@inamiy) and I'm an iOS software engineer at LINE.

    A Swift developer conference titled "try! Swift" was recently held in Shibuya, Tokyo from March 2 to March 4. LINE was a gold sponsor of the event, which was a gathering of over 500 people (30% of which were from overseas). There were many female presenters in the event as well, making it one of the most diverse gathering of developers I've ever seen; the likes of which I haven't seen in any Swift/iOS study group! I was offered a chance to present at the event about "Parser Combinator in Swift", a functional programming method.

    Swift

    Read More

  • Choosing Video Codecs and Optimizing Options in B612
    Jo hyuntae 2015.04.30

    He works on the development of B612 for Android. 

    Hello, I am HT and I work in B612 for Android development. B612, which is named after the asteroid B-612 from the novella "the Little Prince," is the world's first selfie app to feature pre-filtered selfie and 3 or 6 second collaged video capture. In this post, I would like to discuss the process of creating an MP4 file by making a video collage using MediaCodec in B612.

    Read More