Skip to content
Use the Line Messaging API to upload images from GCP Cloud Functions to Google Photos
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
LICENSE
README.md
package.json
sequence.png
tsconfig.json

README.md

line-to-google-photos

Use the Line Messaging API to upload images from GCP Cloud Functions to Google Photos

sequence

https://gist.github.com/kkeisuke/6e460f97ed864c4563dae1c0e52f13d0

Build Setup

  1. 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';

// Picasa
const PICASA_USER_ID: string = 'xxx';
const PICASA_ALBUM_ID: string = 'xxx';
  1. npm install
  2. npm run build

GCP Cloud Functions

Quickstart: Using the Console

Paste dest/index.min.js in Inline editor.

You can’t perform that action at this time.