yarn install
yarn run serve
yarn run build
yarn run lint
ngrok http 8080
curl -v -X POST https://api.line.me/v2/oauth/accessToken \
-H "Content-Type:application/x-www-form-urlencoded" \
--data-urlencode 'grant_type=client_credentials' \
--data-urlencode 'client_id={client_id}' \
--data-urlencode 'client_secret={client_secret}'
curl -XPOST \
-H "Authorization: Bearer {access_token}" \
-H "Content-Type: application/json" \
-d '{
"view": {
"type": "{liff_view_size}",
"url": "{liff_url}"
}
}' \
https://api.line.me/liff/v1/apps
curl -X PUT https://api.line.me/liff/v1/apps/{liff_id}/view \
-H "Authorization: Bearer {access_token}" \
-H "Content-Type: application/json" \
-d '{
"type":"{liff_view_size}",
"url":"{liff_url}"
}'