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
OAuth and google Calendar
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- VIP Livecode Opensource Backer
- Posts: 76
- Joined: Tue Mar 05, 2013 7:00 pm
- Location: Berlin
- Contact:
OAuth and google Calendar
- Attachments
-
- calendarGoogleTest.livecode.zip
- (6.91 KiB) Downloaded 381 times
Re: OAuth and google Calendar
Very well done.
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.
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.
-
- VIP Livecode Opensource Backer
- Posts: 9802
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: OAuth and google Calendar
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
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn