OAuth and google Calendar

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
mimu
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 76
Joined: Tue Mar 05, 2013 7:00 pm
Location: Berlin
Contact:

OAuth and google Calendar

Post by mimu » Tue Nov 27, 2018 10:46 pm

I've prepared a small demo stack to read and write to the google calendar api.

Everything else then complete, but for me it works.
(much room for improvements)

The stack uses the OAuth2 Library and the livecode calendar widget to select a date.
The calendar widget can be found here:
https://livecode.com/extensions/calendar/1-0-0/

Most of the code is in the card script. You have to put in your Google Client-ID and Clientkey
you can get it under https://console.developers.google.com/apis/
Create oAuthClientId
of type "Sonstige"

I would be interested if it works for other livecoders,
any feedback is welcome
Attachments
calendarGoogleTest.livecode.zip
(6.91 KiB) Downloaded 381 times

golife
Posts: 103
Joined: Fri Apr 02, 2010 12:10 pm

Re: OAuth and google Calendar

Post by golife » Thu Dec 13, 2018 7:48 pm

Very well done. :D
I have tested this GoogleCalendarTest shortly (more extensively later) and it works "out of the box". The problem will be for developers to start getting accustomed to the Google Developer API creating a project, assigning the scope (here Calendar scopes) , receiving the client id and client secret and entering that into this application.

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9802
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: OAuth and google Calendar

Post by FourthWorld » Thu May 25, 2023 4:04 am

Is there a more recent version of this example updated for Google's API keys and perhaps any other changes needed for their March update?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”