Use the Line Messaging API to upload images from GCP Cloud Functions to Google Photos
https://gist.github.com/kkeisuke/6e460f97ed864c4563dae1c0e52f13d0
- create
src/_config.ts
// Line
const LINE_CHANNEL_ACCESS_TOKEN: string = 'xxx';
// Google API
const CLIENT_ID: string = 'xxx';
const CLIENT_SECRET: string = 'xxx';
const REFRESH_TOKEN: string= 'xxx';
npm install
npm run build
Paste dest/index.min.js
in Inline editor.