Sample Application for LIFF(LIne Front-end Framework), which can upload your doodle in your LINE message.
(2020.Jan.23)LIFF v2.1 enabled.
-
LINE account
-
LINE Developer account
-
LIFF application in LINE Login Channel
-
Application size need to be tall or full.
-
Scopes need to include both chat_message.write and profile.
-
Find your LIFF URL(line://app/{liff_id}) for later use.
-
-
Public application server for Node.js
- I would describe followings as you use IBM Cloud for this environment.
-
Node.js runtime
-
IBM Cloudant
- Create one database named doodledb
-
Download source from github.com
-
Edit settings.js with following information:
-
exports.db_username : username for IBM Cloudant
-
exports.db_password : password for IBM Cloudant
-
exports.liff_id : liff_id which is assigned when you create LIFF app.
-
-
Deploy application into IBM Cloud
-
Set endpoint URL in you LIFF application setting, and get LIFF URL(line://app/XXXXXX..)
-
Paste LIFF URL or Web URL(https://liff.line.me/{liff_id}) as your LINE message, and click that URL.
-
LIFF
-
LIFF API References
2018-2020 K.Kimura @ Juge.Me all rights reserved.