3.6.0 • Published 2 months ago

woff-test v3.6.0

Weekly downloads
-
License
-
Repository
-
Last release
2 months ago

LINE Front-end Framework

LINE Front-end Framework (LIFF) is a platform for web apps provided by LINE. The web apps running on this platform are called LIFF apps.

LIFF apps can get data from the LINE Platform such as the LINE user ID. The LIFF app can use such data to provide features that utilize user information and send messages on the user's behalf.

Installation

Using npm

$ npm install --save @line/liff

Using yarn

$ yarn add @line/liff

Usage

Include the SDK in your JavaScript or TypeScript files:

import liff from '@line/liff';

liff.init({ liffID: 'myLiffId' });

Type definitions for TypeScript are already included in the @line/liff package

CDN

The LIFF SDK is also available on LINE's CDN.

<script src="https://static.line-scdn.net/liff/edge/versions/2/sdk.js"></script>

See integrating LIFF for more details.

Documentation

See LIFF Document and API Reference.

License

Using LIFF means you agree to the LINE Developers Agreement.