LoginSignup
13
11

More than 5 years have passed since last update.

LINE Bot : LINE Front-end Framework を liff npm パッケージで操作

Posted at

LINE Bot の新機能である LINE Front-end Framework を簡単に操作できる cli ツールが Shoya 氏により npm で公開中。早速試してみました。

GitHub: liff-cli
npm: liff-cli

LIFF Cli のインストール

npm install -g liff

LIFF の追加

とりあえず Bing.com を Tall で追加してみます。

liff add https://bing.com tall

liffId が結果として返ります。

image.png

LIFF 一覧の取得

liff list

image.png

LIFF の更新

bing を GitHub に変更してみる。

liff update 1555709429-7ax0nRRP https://github.com tall

image.png

LIFF のテスト送信

ユーザー ID (MID) が分かればテスト送信も可能。

liff send 1555709429-7ax0nRRP Ue52d11061xxxxxxxxxxxxxxxxxxx

LIFF の削除

ID を指定しても、一括削除も可能。

liff delete 1555709429-7ax0nRRP
liff deleteAll

image.png

足りない機能があれば GitHub の Issue に投げると良いみたいです。

13
11
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
13
11