Questions tagged [google-api-javascript-client]

62 questions
0
votes
1 answer

Google Chat (Spaces) Add Member as Manager

I am attempting to add different users to a Google Space and set their roles as Members or Managers. When I try to set the role to ROLE_MANAGER, it always defaults to ROLE_MEMBER. In reading the reference and seeing that "role" is output only,…
0
votes
1 answer

How can I check if the user is logged into their Google account with Google One Tap?

My question is here (How to check if user is logged in or not with "Google Sign In" (OAuth 2.0) ), but the relevant package has been deprecated (https://developers.google.com/identity/sign-in/web/people). I am using Google One Tap in my project. How…
0
votes
0 answers

Sgin in with Google for web: switching account changes the SESSION on server, but still the same account on Google button

implementation: "Google JavaScript API" with button, without One Tap. Scenario: The user had two Google accounts A and B, while already logged in with A, without logging out A account he then switched to B account by Google button, and the server…
0
votes
1 answer

How to creating Calendar Event with JavaScript in React JS with fetch

In a React JS app I want to create a google calendar event. I am completely unfamiliar with google apis and am trying to learn / figure out how to do this. the following is a react test component that displays a blank screen with a "google login"…
afshin
  • 1,783
  • 7
  • 22
  • 39
0
votes
2 answers

authenticate bigquery javascript api

I am putting together a web app where I would like to display some bigquery data on my webpage However, I am having trouble setting up the authentication for bigquery's javascript api. Most of the examples and resources, including Google's own docs…
0
votes
0 answers

react js npm googleapis,@googleapi/sheets package error for version (npm=9.2.0,node=v18.13.0)

React message error image links My local PC is running Ubuntu 22.04.1 LTS. When installing the package, there are no problems; there are a few warnings and a red error, but rendering works fine. But when I installed the Google package "npm install…
0
votes
0 answers

Unable to delete an event using Google Calendar API on React

I am trying to create a simple schedule management app using React and HAsura GraphQL API and I am trying to integrate it with my Google Calendar. However I am unable to delete the required event. This is my first time working with Google API so I…
0
votes
1 answer

Google javascript client api : how to fetch profile name?

I am trying to implement SignIn with Google with redirect approach. I am following this link My code looks like below