microsoftgraph / msgraph-sdk-php

Microsoft Graph Library for PHP.
Other
551 stars 141 forks source link

Files upload to the OneDrive though Laravel without user login #1535

Closed nehamashal23 closed 4 weeks ago

nehamashal23 commented 4 weeks ago

I am developing a website where clients can log in and upload files, which need to be saved to an admin's OneDrive account. I am using Laravel (or core PHP) for this project. Despite my efforts to use the Microsoft Graph API, I have not been successful in achieving this functionality.

Could you provide a detailed guide or example on how to upload files to OneDrive using Laravel or core PHP? Specifically, I need to know:

  1. How to authenticate with the Microsoft Graph API and obtain the necessary tokens.
  2. How to configure the app to interact with OneDrive.
  3. How to upload files to OneDrive and access them later.

Any help or pointers would be greatly appreciated.

SilasKenneth commented 4 weeks ago

Hi @nehamashal23, thanks for trying out the SDK. For general help on how to use the SDK, please check the Examples Here. Feel free to open another issue if you have a problem using the SDK.

nehamashal23 commented 3 weeks ago

Hi @SilasKenneth , Thank you for the guidance and resources provided. I will review the examples and provide my feedback accordingly