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: Klaus, FourthWorld, heatherlaine, kevinmiller

Post Reply
mimu
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 43
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 28 times

golife
Posts: 22
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.

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”