Creating Documents using React / Google Docs API / Google OAuth 2.0

  Рет қаралды 21,197

Cooper Codes

Cooper Codes

Күн бұрын

Пікірлер: 42
@managedkaos
@managedkaos 7 ай бұрын
This is just what i needed for a project I'm working on. Thanks!
@miguelcabaero5843
@miguelcabaero5843 3 ай бұрын
Thank you so much TwT
@eredluin1
@eredluin1 2 жыл бұрын
I get the "has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled." when I try to create a file, can someone help?
@sergey7144
@sergey7144 2 жыл бұрын
Great video. I have a question. Can we write data to Google Sheet using React? Maybe you can help with it😀
@CooperCodes
@CooperCodes 2 жыл бұрын
I'll give a look into this for sure! Maybe a series on multiple google drive related topics / API usage
@mdikbalhosen1711
@mdikbalhosen1711 Жыл бұрын
How to get all the google docs of users and show in UI and when he click on a doc it will open. How can I do this?
@TejasKolwankar
@TejasKolwankar Жыл бұрын
i have added all these scope in the oatuh but it doesnt ask me for those scope
@developeragg
@developeragg Жыл бұрын
It doesn't work anymore, any alternative?
@lukaakhalbedashvili7167
@lukaakhalbedashvili7167 Жыл бұрын
github ref would be great
@WILLIAMCORREA85
@WILLIAMCORREA85 2 жыл бұрын
Wonderful video. Thank you. I have a question: How do I do if I want to upload files to my user's drive account?
@cruzorblade
@cruzorblade 2 жыл бұрын
Thanks you for the great content. Was really what I was looking for 😃. Please a question: I am currently working on a project with Firebase storage and Firestore. How to do the same with it?
@estebanduran6255
@estebanduran6255 2 жыл бұрын
Excellent demonstration of Google docs API. You explained the topic in a very concise way without much handholding.
@CooperCodes
@CooperCodes 2 жыл бұрын
My goal is to explain the majority of the important details, but also allow people to come to their own understandings and become better developers themselves. Glad to see the tutorial was helpful, thank you for the comment.
@amrendrasingh6109
@amrendrasingh6109 Жыл бұрын
Thank you so much sir ❤
@miguelcabaero5843
@miguelcabaero5843 3 ай бұрын
Thank you so much TwT
@miguelcabaero5843
@miguelcabaero5843 3 ай бұрын
Thank you so much TwT
@amirnoorani5017
@amirnoorani5017 11 ай бұрын
Thank you Cooper. Your tutorial is the best among 10 other tutorials that I've watched. Only one thing, if someone else login with another Google account, he will access to his own google resources?
@muskansahu4595
@muskansahu4595 9 ай бұрын
Please make a video on document.batchUpdate metod with react (this is also a Google doc api )
@kartik9892
@kartik9892 2 жыл бұрын
Doing it the gapi way is deprecated the new way is google identity service
@developeragg
@developeragg Жыл бұрын
It doesn't work anymore, any alternative?
@abdulkareemaldeek8135
@abdulkareemaldeek8135 2 жыл бұрын
Awesome! Thank you, I hope to upload more videos about Google API with a more complicated Project.
@DouglasAlmeida-hp5jk
@DouglasAlmeida-hp5jk Жыл бұрын
Is there any way when creating this document in docs to give permissions to another google email?
@karevenugopal4811
@karevenugopal4811 Жыл бұрын
Can u make one video creating Google sheets using reactjs with Google API
@ahmadalamin3616
@ahmadalamin3616 2 жыл бұрын
hey i was wondering how did you hide the logout button before logging in, and vice versa? could you share the original code please?
@developeragg
@developeragg Жыл бұрын
It doesn't work anymore, any alternative?
@samuelzhu3073
@samuelzhu3073 5 ай бұрын
ur actually goated - easy to follow tutorial 👌
@surajchaudhary936
@surajchaudhary936 Жыл бұрын
may i get the github link of the same code
@managedkaos
@managedkaos 7 ай бұрын
Thanks!
@CooperCodes
@CooperCodes 6 ай бұрын
You're welcome! Appreciate the super thanks, and glad the video was helpful for your project. Thank you again :)
@kalidsherefuddin
@kalidsherefuddin 2 жыл бұрын
The greatjob
@dadioodude
@dadioodude 2 жыл бұрын
Thank you for the great video. Would you know how to add a custom name to a google sheet? I was able to use the fetch command, replacing the link with the one for Sheets, to create new Sheets. However, I was not able to assign new Sheets a custom name using "?title=Custom Name".
@CooperCodes
@CooperCodes 2 жыл бұрын
You should be able to pass variables into the body of your request with the Fetch API. I haven't looked into the Sheets API so I am unsure which variables need to be set, so hopefully the Sheets API Docs can provide that. developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch#supplying_request_options Here is an example of passing in options to a Fetch API call, although a little complicated hopefully this gets you going in the right direction. In the example they set the variable "answer" equal to 42, so in your situation I'd assume it's something more like "title" equal to "This is my custom title here!".
@CooperCodes
@CooperCodes 2 жыл бұрын
const data = { title: 'example' }; fetch('', { method: 'POST', // or 'PUT' headers: { 'Content-Type': 'application/json', }, body: JSON.stringify(data), }) .then(response => response.json()) .then(data => { console.log('Success:', data); }) .catch((error) => { console.error('Error:', error); }); An example further down in the Fetch API docs from above, a bit more simple than the one I linked. developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch#uploading_json_data
@dreamdivine401
@dreamdivine401 2 жыл бұрын
Thank you..learned so much
@CooperCodes
@CooperCodes 2 жыл бұрын
Glad it was helpful! Thanks for watching :)
@rupertxyz
@rupertxyz 2 жыл бұрын
This was an amazing tutorial!
@CooperCodes
@CooperCodes 2 жыл бұрын
Thank you for your support! Appreciate it
@godswillonyeka5973
@godswillonyeka5973 2 жыл бұрын
Nice one
@CooperCodes
@CooperCodes 2 жыл бұрын
Thank you kindly, appreciate the support!
@anshikasethiya5140
@anshikasethiya5140 2 жыл бұрын
Getting an error in authorized javascript URI its is showing invalid. It wrote: "loacalhost:3000"
@CooperCodes
@CooperCodes 2 жыл бұрын
I think it should be localhost:3000 you may want to double check your spelling
@baxtables
@baxtables 2 жыл бұрын
and also its http not https
Google Identity Services Login with React (2023 React Google Login)
19:50
Control Google Sheets with Node.js / JavaScript (v4 API)
25:51
James Grimshaw
Рет қаралды 121 М.
小丑妹妹插队被妈妈教训!#小丑#路飞#家庭#搞笑
00:12
家庭搞笑日记
Рет қаралды 38 МЛН
The joker favorite#joker  #shorts
00:15
Untitled Joker
Рет қаралды 30 МЛН
pumpkins #shorts
00:39
Mr DegrEE
Рет қаралды 12 МЛН
Google OAuth 2.0 With NodeJS (No Passport or googleapis)
57:18
TomDoesTech
Рет қаралды 98 М.
Automate Google Sheets With Python - Google Sheets API Tutorial
32:28
NodeJS & Express - Google OAuth2 using PassportJS
20:33
Kris Foster
Рет қаралды 102 М.
All useEffect Mistakes Every Junior React Developer Makes
22:23
NestJS & Google OAuth2 with Passport
1:12:18
Anson the Developer
Рет қаралды 38 М.
How to Use Google Sheets as a Simple CMS
10:12
Coding in Public
Рет қаралды 10 М.
React User Login and Authentication with Axios
31:37
Dave Gray
Рет қаралды 562 М.
An Illustrated Guide to OAuth and OpenID Connect
16:36
OktaDev
Рет қаралды 592 М.
小丑妹妹插队被妈妈教训!#小丑#路飞#家庭#搞笑
00:12
家庭搞笑日记
Рет қаралды 38 МЛН