google-calendar-api

Access scope data after Firebase authentication

女生的网名这么多〃 提交于 2019-12-22 09:28:29
问题 I authorized the calendar api in my google sign in auth, using the following code (Angularfire2): let auth = new firebase.auth.GoogleAuthProvider(); auth.addScope('https://www.googleapis.com/auth/calendar'); this.afAuth.auth .signInWithPopup(auth).then((data) => { console.log(data); // nothing about calendar here }); Is there any way to access authorized scopes using FirebaseAuth? For example, access the calendar data after the user signs and authorizes the calendar auth. 回答1: If you check

Google Calendar feed api deleted events

岁酱吖の 提交于 2019-12-22 07:05:02
问题 I'm syncing the Google Calendar with my application (I store events in a database). When an event is updated I can easily find the last updates by sorting the event feed on the 'updated' order. However, if an event is removed / deleted, how can I track this update from the feed? 回答1: Try to add showdeleted=true to your query feed and then check for EventStatus.CANCELED on retrieved entries. Check this thread for further information. 回答2: I did exactly the thing you want to do (see this post:

Google Api Auth Http Module Error

橙三吉。 提交于 2019-12-22 06:37:58
问题 I'm working on my first app ever to use Google Api for Calendar. I've read the Google examples at: https://developers.google.com/google-apps/calendar/instantiate The first time I ran the program below it was successful. I allowed my app to access my Google account and the application made a calendar.dat file with the auth info in my app-directory. After I renamed the filed the code was in the auth stopped working. I have already deleted the file entirely and recreated it from scratch, but the

Google OAuth2 - access token & refresh token -> invalid_grant/Code was already redeemed

余生长醉 提交于 2019-12-22 05:13:13
问题 My goal is to have some kind of long lived access token so that my Android app can read the events of a user's Google Calendar for the day without requiring user approval every time. I am able to generate -- what I think is -- a one-time authorization code; however, when I send this to my server side, app engine, I get the following error response: 400 OK { "error" : "invalid_grant", "error_description" : "Code was already redeemed." } That is the exception that is being thrown. I'm just

Google calendar api CalendarList List return empty element

醉酒当歌 提交于 2019-12-22 05:00:50
问题 EDIT: The original poster asked this for C# , but the same problem occurs regardless of the library used, and its solution is language independent . Using C# lib, string service_account = "myaccount@developer.gserviceaccount.com"; var certificate = new X509Certificate2(@"pathtomy-privatekey.p12", "notasecret", X509KeyStorageFlags.Exportable); ServiceAccountCredential credential = new ServiceAccountCredential( new ServiceAccountCredential.Initializer(service_account) { Scopes = new[] {

Unexpected exception upon serializing continuation Google Apps Script

喜欢而已 提交于 2019-12-22 00:34:56
问题 I recently started getting the error "Unexpected exception upon serializing continuation" on a spreadsheet Google Apps Script when trying to debug. The error seem to start after I created a connection to the Google CloudSQL api. This error still occurs even after commenting out the jdbc object constructor. It appears that others have had this issue and needed a Google Tech to resolve the issue. I have searched all of the discussion boards for a solution to this issue with no luck. Any chance

Google Calendar redirect_uri_mismatch

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-21 22:35:31
问题 I have a website in Visual Studio Express 2012 for Web. I keep getting an error from google which says there isn't a match for the redirect uri's listed in the developer console when I try the code below: private void getEvents() { UserCredential credential = GoogleWebAuthorizationBroker.AuthorizeAsync( new ClientSecrets { ClientId = "CLIENTIDHERE", ClientSecret = "SECRETHERE", }, new[] { CalendarService.Scope.Calendar }, "user", CancellationToken.None).Result; // Create the service. var

Exporting Single Google Calendar Events to ICS?

安稳与你 提交于 2019-12-21 19:30:06
问题 I am currently looking into the possibility of displaying lists of events from multiple Google Calendars on a Web page. At the moment, I'm using the Google Calendar Events plugin for WordPress to display the events on the site (development site behind a firewall, so I can't share a link); but I'd like to see if there's any simple method to dynamically generate ICS files for each individual event. We would like to allow the website visitors to add individual events to their calendars, but the

How to disable event links in FullCalendar when using Google Calendar feed?

℡╲_俬逩灬. 提交于 2019-12-21 12:55:13
问题 I am using FullCalendar library to load events in my calendar from Google Calendars. Unfortunately after events have been added to the calendar, they are clickable. When you click on the event you are automatically redirected to the Google Calendars page to view that specific event, or if you have enaught access rights - to directly edit it. While this is very useful for event management, I cannot imagine why a site visitor would like to be redirected to an external page every time he clicks

How to read reminders in google calendars

不打扰是莪最后的温柔 提交于 2019-12-21 09:28:49
问题 I'm trying to read the reminders set by the user. What I mean with "reminder": currently there are two different meaning, the first one is the "alert" related to each event in the calendar and you can read them from CalendarContract.Reminders , the second one are unrelated events inserted by the user via Google Now with "remember me to...." or via Google Calendar app with insert reminder action. I'm talking about the second one. I'm reading from the event table CalendarContract.Events .