Reputation: 49
I am trying to create a chrome extension that can add Google calendar events to a person's google Calendar (create one appointment for irregular reoccuring dates).
To do this I am using oauth 2.0 and I would like to use the javascript Client library to make the required calls.
Whenever I try to use the gapi object, I will receive the error that the object is undefined.
Does anyone have a good example on how to use the javascript client library in a chrome extension, or a better way to do this?
Thanks in advance!
Upvotes: 1
Views: 613
Reputation: 22306
What about using chrome.identity https://developer.chrome.com/apps/identity
Upvotes: 1