Onedrive puas muaj qhov qhib API? Onedrive huab cia hloov pauv tus kheej tsim API los tsim lub vev xaib

RcloneConfigure Onedrive huab cia hloov pauv tus kheej tsim API, thiabThov Google Drive Client ID thiab Secret Key APIIb yam li ntawd, koj kuj yuav tsum tau mus rau Microsoft Azure Active Directory Management Center thov rau qhib API.

Microsoft Azure thov li cas rau qhib API?

Kauj ruam 1:Qhib Microsoft Azure Management Center daim ntawv thov lub vev xaib ▼

Kauj Ruam 2:Nyem "Sau npe tshiab" ▼

Onedrive puas muaj qhov qhib API? Onedrive huab cia hloov pauv tus kheej tsim API los tsim lub vev xaib

Kauj Ruam 3:Sau cov ntaub ntawv sau npe thov ▼

Kauj Ruam 2: Sau daim ntawv thib ob ntawm cov ntaub ntawv sau npe thov

Sau lub npe app:Rclone

Leej twg tuaj yeem siv daim ntawv thov no zoo dua lossis nkag mus rau API no?

  • Xaiv qhov thib peb ncaj qhaCov nyiaj hauv ib lub koom haum cov npe (ib qho Azure AD directory - ntau tus neeg xauj tsev) thiab tus kheej Microsoft account (xws li Skype, Xbox)"
  • redirect URLxaiv"WEB", koj tuaj yeem nkag mus http://localhost:53682 Raws li url, nws yog siv los xa cov ntaub ntawv rov qab rau koj lub server thaum tus neeg siv kev tso cai ntawm daim ntawv thov no ua tiav.
  • Sau cov ntaub ntawv, nyem "Register", koj yuav tuaj rau lub interface hauv qab no ▼

Sau cov ntaub ntawv, nyem "Register", koj yuav tuaj rau peb nplooj ntawv ntawm no interface

Kauj Ruam 4:Nyem "API Permissions" → "Add Permissions" → "Common Microsoft API (Microsoft Graph)” ▼

Kauj ruam 4: Nyem "API Permissions" → "Add Permissions" → "Common Microsoft API (Microsoft Graph)" nyob rau sab laug

Kauj Ruam 5:Thov kev tso cai API(Microsoft Graph) → Tso cai tso cai ▼

Kauj ruam 5: Thov kev tso cai API (Microsoft Graph) → Delegated tso cai daim ntawv 5

Kauj Ruam 6:Ntxiv cov kev tso cai API hauv qab no ▼

Kauj ruam 4: Nyem "API Permissions" → "Add Permissions" → "Common Microsoft API (Microsoft Graph)" nyob rau sab laug

Ntxiv 6 kev tso cai no:

  1. Cov ntaub ntawv.Nyeem
  2. Cov ntaub ntawv. ReadWrite
  3. Files.Read.Tag nrho
  4. Cov ntaub ntawv. ReadWrite. Txhua
  5. offline_access
  6. Neeg siv.Nyeem
  • Thaum kawg, paub meej tias tag nrho 6 kev tso cai tau ntxiv lawm?

Kauj Ruam 7:Tom qab ntxiv kev tso cai, koj yuav tsum tsim ib tus neeg siv khoom zais cia.

  • Nyob rau sab laug navigation, nyem "Certificate and Password" → "+New Client Password";
  • Sau cov lus qhia hauv lub qhov rais casually, xaiv "24 lub hlis" rau hnub kawg, thiab tom qab ntawd nyem "Ntxiv";
  • Tus password koj tsim yuav tshwm hauv qab no, nco ntsoov khaws thiab sau tus password no rau hauv koj lub computer, vim tias tus password no tsuas yog tshwm sim ib zaug xwb.

Kauj ruam 7: Tom qab ntxiv kev tso cai, koj yuav tsum tsim kom muaj tus neeg siv khoom zais cia.Nyob rau sab laug navigation, nyem "Certificate and Password" → "+New Client Password"; Sau cov lus qhia nyob rau hauv lub qhov rais casually, xaiv "24 lub hlis" rau hnub tas sij hawm, thiab ces nias "Ntxiv"; tus password koj tsim yuav tshwm hauv qab no, nco ntsoov khaws nws Sau lo lus zais no hauv lub computer, vim tias lo lus zais no tsuas yog tshwm sim ib zaug.7th ib

Kauj Ruam 8:Rov qab mus rau nplooj ntawv tseem ceeb, nyem "Txhua yam", luam "Daim ntawv thov (Client) ID".

Kauj Ruam 9:Muab tshuaj txhuam App ID koj nyuam qhuav theej

Rov qab mus rau lub console ntawm peb VPS, tam sim no zoo li qhov no ▼

Microsoft App Client Id
Enter a string value. Press Enter for the default ("").
client_id> //此处粘贴刚才复制的应用程序ID

Paste yam peb nyuam qhuav theejDaim ntawv thov (Client) ID, Nkag mus;

Kauj ruam 9: nkag password

Paste ntawm no yog tus password peb nyuam qhuav khaws cov ntaub ntawv, raws li hauv qab no:

Enter a string value. Press Enter for the default ("").
client_secret> //此处粘贴刚刚保存记录的密码

Yog tias cov lus yuam kev "Rclone yuam kev: f tshwm thaum Rclone teeb tsa OneDriveaicoj mus rau kev teeb tsa OneDrive: qhov tsis muaj token pom "qhov teeb meem, thov mus saib cov lus qhia hauv qab no▼

Cia siab Chen Weiliang Blog ( https://www.chenweiliang.com/ ) tau qhia "Puas Onedrive muaj qhov qhib API? Onedrive huab cia hloov pauv tus kheej tsim API los tsim lub vev xaib", uas yuav pab tau rau koj.

Zoo siab txais tos los qhia qhov txuas ntawm kab lus no:https://www.chenweiliang.com/cwl-27827.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