Skip to content

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

License

Notifications You must be signed in to change notification settings

kkeisuke/line-to-google-photos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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';
  1. npm install
  2. npm run build

GCP Cloud Functions

Quickstart: Using the Console

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

Reference

https://int128.hatenablog.com/entry/2018/06/06/234653

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published