checkout the new opensource Google2 (calendar) plugin

Questions and answers on developing, deploying and using plugins and JavaBeans

checkout the new opensource Google2 (calendar) plugin

Postby Harjo » Wed Nov 19, 2014 5:19 pm

Please checkout the new opensource Google2 plugin (supporting Google Calendar API v3)
It's awesome! :D

https://www.servoyforge.net/projects/google2/wiki

MANY thanks to Patrick Ruhsert, for his contribution on this one!
Harjo Kompagnie
ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
Harjo
 
Posts: 4321
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Re: checkout the new opensource Google2 (calendar) plugin

Postby Gordon McLean » Thu Feb 26, 2015 4:09 pm

Hi Harjo/Patrick

Firstly thank you for taking the time to develop this plugin and contributing it to the servoyforge community its much appreciated

Unfortunately I have fallen at the first hurdle with installation and think it may be down to clarification of some of the docs specifically

1) Is the application name described as the project ID by Google ? OR is it the project name top left of the console ?
2) When you create the new Client ID am I correct in thinking you select Web Application (I am using web client)
3) What should be specified as the redirect URL and Javascript origins the servoy home directory ??

What I am currently getting from the following code is a <null> from sURL and predictably a wrapped java.lang error

Cheers
Gordon

function testCalendar() {
var applicationName = 'MyProjectName';
var clientID = 'ClientID_4mi.apps.googleusercontent.com';
var clientSecret = 'BigSecret_yZJkgyA-Yx';

var sURL = plugins.Google2.setupApplication(applicationName,clientID,clientSecret);
plugins.Google2.getAuthorizationUrl(sURL)
}
Gordon McLean
Clickdigital.com
Gordon McLean
 
Posts: 253
Joined: Wed Aug 03, 2005 12:24 pm
Location: UK


Return to Plugins and Beans

Who is online

Users browsing this forum: No registered users and 6 guests