Skip to content

cloud function event imlementation for uploading from LINE message to Google Photos

Notifications You must be signed in to change notification settings

en-ken/line2googlephotos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

line2googlephotos

cloud function event implementation for uploading from LINE message to Google Photos

Setup

  1. Create an album and take a note of album ID.
OAUTH2_REFRESH_TOKEN=[Refresh Token for Google Photos APIs call] ./create_album.sh
  1. Set environment variables. (Create .env.yaml)
ALBUM_ID: [Album ID of Google Photos]
LINE_CHANNEL_SECRET: [LINE Channel Secret]
LINE_CHANNEL_ACCESS_TOKEN: [LINE Channel Access Token]
OAUTH2_CLIENT_ID: [Client ID for Google OAuth2]
OAUTH2_CLIENT_SECRET: [Client Secret for Google OAuth2]
OAUTH2_REFRESH_TOKEN: [Refresh Token for Google Photos APIs call]
  1. Deploy
REGION=[GCP Region] PROJECT=[GCP Project Name] ./deploy.sh

About

cloud function event imlementation for uploading from LINE message to Google Photos

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published