google-api-js-client Questions

1

I'm using the Google Calendar API and am trying to receive push notifications when a calendar event is triggered https://developers.google.com/calendar/v3/push I think everything is setup correctl...
Crigger asked 1/4, 2019 at 11:27

1

Solved

SO i am new at this what i am trying to do is using Angular as Front-end to make a simple button that when clicked asks for user to Authenticate just like any login using gmail example but i keep g...
Tojo asked 23/3, 2019 at 13:29

12

Solved

I want to access Google Spreadsheets using JavaScript only (no .NET, C#, Java, etc.) I came here and was shocked to know that there is NO API for JavaScript to access Google Sheets. Please tell m...

1

Solved

My app makes use of Firebase to log users in, and they have access to a calendar, which is especially created as a single common calendar to add and remove reservations. The app has, so to speak, ...
Hoseahoseia asked 16/1, 2019 at 17:11

1

jQuery allows to send http request as synchronous (async:false setting), this is particularly useful when bypassing popup blocker. Is there any way to do this when using Google's javascript clien...

1

Solved

I'm trying to setup tests in my angular 4 project for a service that uses Google gapi. The problem I have is that the variable is declared globally but not mocked, therefore when I run the tests I ...
Bellbella asked 28/11, 2017 at 20:50

2

The JavaScript example to list files of Google Drive uses gapi.client.drive.files.list(). When trying to use this method I get the error "Cannot read property 'files' of undefined". The issue and ...
Gaye asked 10/1, 2013 at 16:41

2

I tried to import some classes or function from Google gapi.auth2 in typescript. But below code never works even I correctly added the gapi.auth2 types in typings directory. import { GoogleAuth } f...
Aristate asked 29/6, 2016 at 5:41

1

I copied the example given in Google Calendar API Quickstart and replaced it with the appropriate info. Every time I refresh the page, I'm asked to authorize before api data is fetched. I'm using ...
Hemihydrate asked 29/3, 2018 at 19:39

2

Solved

On this example, the promise that i created works ok. But the promise from the google api don't work. It says that the this.youtube is undefined index.html <script src="https://apis.google.c...

1

Solved

I'm using Google One-Tap sign in to authenticate users, and after the user is authenticated I get an access token. I know that I can use this access token in order to work with the Google API clien...

0

I just implemented Google JavaScript sign-in button to our homepage, and everything works the way it suppose to, but thats sometimes bad.. So the thing is that our users use our application on the...
Klarrisa asked 12/10, 2017 at 8:11

2

Solved

I'm trying to follow this guide for doing resumable uploads on Google Drive through Google Api's. This is my code, you can see it makes 2 requests as the guide asks to, the first part creates the ...
Citron asked 11/9, 2017 at 16:39

8

It took me one day to make it works so I think my experience may be useful from someone. And maybe some others will find improvement. So I start angularJS two days ago. And I want it works with Go...

4

Solved

I'm trying to use google sign-in with angular2 by following this question: Google Sign-In for Websites and Angular 2 using Typescript But I'm getting an error: ORIGINAL EXCEPTION: ReferenceError:...
Shrader asked 29/7, 2016 at 17:25

1

Solved

To get Google access token after firebase auth login, I know I can simply do this: firebase.auth().signInWithPopup(provider).then(function(result) { var token = result.credential.accessToken; } ...
Rushton asked 11/6, 2017 at 13:33

3

I'm trying to implement Google sign in for my website. The Sign-In button shows up correctly and signs-people in well initially. My problem occurs when I log out after having used the website and t...
Marvelofperu asked 26/5, 2016 at 23:9

2

Solved

So I have tried the following templates trying to integrate this: HTML: <google-sign-in-button button-id="login-button" options="options"></google-sign-in-button> CSS: .directive('...
Cohbath asked 16/1, 2017 at 18:22

1

I am trying to use gapi to upload an image to google cloud storage.The current code I have is <script src="https://apis.google.com/js/api.js"></script> <script type="text/javascript...

1

Solved

I want to make JSON-RPC calls from localhost (WAMP environment) to the Google FusionTables API (and a couple of other APIs) using the Google Client Library for JavaScript Steps I have taken: set...
Pattern asked 3/10, 2016 at 6:24

1

I am trying to use requireJS with Google plus API, but getting an error when I click login button Here is the error and screenshot: GET https://apis.google.com/_/scs/apps-static/_/js/k=oz.gapi....
Aerodonetics asked 2/8, 2016 at 12:48

0

I am currently trying to use gapi.auth2 from Google Sign-In for Websites API and this is the code I have: -- load the library with: <script src="https://apis.google.com/js/platform.js?onload=o...

7

I am trying to work with the Google Contacts API v3. Because of the OAuth2 authentication and authorization I'm started with the Google APIs Client Library for JavaScript. I have no problems with...

1

Solved

Start ~2wks ago a few customers have started hitting an issue that prevents them from authenticating with Google services. All of the instances that I have encountered so far appear to be on non-gm...

0

When login with Server-Side flow, or ask authorization for additional scopes, with auth2.grantOfflineAccess, the result access/refresh token is not getting combined with previous authorized scopes,...

© 2022 - 2024 — McMap. All rights reserved.