Yuav thov li cas rau Google Drive Client ID thiab Secret Key API?

Thaum koj teem lub neej ntawd configuration rclone Thaum ua haujlwm nrog Google Drive, koj siv rclone's client_id.Qhov no yog qhia ntawm txhua tus neeg siv rclone. Google muaj kev txwv thoob ntiaj teb ntawm tus naj npawb ntawm cov lus nug ib thib ob txhua tus neeg siv khoom tuaj yeem ua tau. rclone twb muaj quota siab, thiab kuv yuav txuas ntxiv kom paub tseeb tias nws siab txaus los ntawm kev hu rau Google.

Kuv yuav ua li cas kuv tus kheej client_id rau Google Drive?

Kev siv koj tus kheej tus neeg siv ID yog pom zoo, vim tias rclone ID yog siv hnyav heev.Yog tias koj muaj ntau yam kev pabcuam khiav, nws raug nquahu kom siv tus yuam sij API rau txhua qhov kev pabcuam.Lub neej ntawd Google quota yog 10 ib obQhov xwm txheej, yog li nws tau pom zoo kom nyob qis dua qhov nyiaj vim tias yog tias koj siv ntau tshaj qhov ntawd nws yuav ua rau rclone rau tus nqi txwv thiab ua rau qeeb.

Nov yog yuav ua li cas los tsim koj tus kheej Google Drive tus neeg siv ID rau rclone:

  1. Nkag mus nrog koj tus account GoogleGoogle API Console.Nws tsis muaj teeb meem uas koj siv Google Account. (tsis tas yuav yog tib Google Drive account koj xav nkag mus)
  2. Xaiv ib qhov project lossis tsim ib qho tshiab.
  3. Nrhiav hauv qab "Enable APIs and Services"Drive", ces enable"Google Drive API".
  4. Nyem "Credentials" nyob rau sab laug vaj huam sib luag (tsis yog "Tsim Daim Ntawv Pov Thawj" uas qhib lub wizard), ces nyem "Tsim Daim Ntawv Pov Thawj"
  5. Yog tias koj twb tau teeb tsa "Oauth Consent Screen", hla mus rau cov kauj ruam tom ntej; yog tias tsis yog, nyem lub pob "CONFIGURE CONSENT SCREEN" (ze rau sab xis saum toj ntawm lub vaj huam sib luag sab xis), tom qab ntawd xaiv "Sab nraud" thiab nyem "CREATE "; nyob rau hauv lub tom ntej no Nyob rau hauv lub screen, nkag mus rau ib tug "Application Name" ("rclone" yuav ua) thiab nias "Txuag" (tag nrho lwm yam ntaub ntawv yog xaiv tau).Nyem rau daim ntawv pov thawj ntawm sab laug vaj huam sib luag dua kom rov qab mus rau daim ntawv pov thawj.

(PS: Yog tias koj yog tus neeg siv GSuite, koj tuaj yeem xaiv "Internal" es tsis yog "External" saum toj no, tab sis qhov no tseem tsis tau sim / sau tseg).

  1. Nyem qhov "+ CREATE CREDENTIALS" khawm nyob rau sab saum toj ntawm qhov screen thiab xaiv "OAuth Client ID".
    Yuav thov li cas rau Google Drive Client ID thiab Secret Key API?
  2. Yog tias koj siv Google Account, xaiv hom ntawv thov "Desktop App" lossis "Lwm yam" (yog tias koj siv GSuite account) thiab nyem "Tsim". (npe npe zoo)
  3. Nws yuav qhia koj tus neeg siv khoom ID thiab tus neeg siv khoom zais cia.Nco ntsoov cov no.
  4. Mus rau "Oauth Consent Screen" thiab nias "Publish Application"
  5. Muab rclone nrog rau tus neeg siv khoom ID thiab tus neeg siv khoom zais cia.

Ceev faj

Nco ntsoov tias vim Google tsis ntev los no "txhim kho kev ruaj ntseg", koj yuav tsum theoretically "xa koj app rau kev pov thawj" thiab tos lub lis piam (!) rau lawv cov lus teb;

Hauv kev xyaum, koj tuaj yeem siv tus neeg siv khoom id thiab tus neeg siv khoom zais cia ncaj qha nrog rclone, qhov teeb meem nkaus xwb yog thaum koj txuas ntawm qhov browser nws pom qhov kev lees paub txaus ntshai tiag tiag kom rclone tuaj yeem tau txais nws tus lej token (tab sis qhov no tsuas yog tshwm sim thaum lub sijhawm nyob deb. configuration, tsis muaj teeb meem loj).

Cia siab Chen Weiliang Blog ( https://www.chenweiliang.com/ ) qhia "Yuav ua li cas thov rau Google Drive Client ID thiab Secret Key API? , pab koj.

Zoo siab txais tos los qhia qhov txuas ntawm kab lus no:https://www.chenweiliang.com/cwl-1971.html

Zoo siab txais tos rau Telegram channel ntawm Chen Weiliang blog kom tau txais qhov hloov tshiab tshiab!

🔔 Ua thawj tus tau txais txiaj ntsig "ChatGPT Content Marketing AI Tool Usage Guide" hauv cov npe saum toj kawg nkaus channel! 🌟 ib
📚 Daim ntawv qhia no muaj nuj nqis loj, 🌟Qhov no yog lub sijhawm tsis tshua muaj, tsis txhob nco nws! ⏰⌛💨
Share thiab like yog tias koj nyiam!
Koj qhov kev sib koom thiab kev nyiam yog peb qhov kev txhawb nqa tas mus li!

 

评论 评论

Koj email chaw nyob yuav tsis tsum luam tawm. Yuav tsum tau siv cov liaj teb * Ntaus Cim

scroll rau saum