onedrive-php-sdk
onedrive-php-sdk copied to clipboard
OneDrive SDK for PHP
Add share permission to others: https://docs.microsoft.com/en-us/onedrive/developer/rest-api/api/driveitem_invite?view=odsp-graph-online Create share links: https://docs.microsoft.com/en-us/onedrive/developer/rest-api/api/driveitem_createlink?view=odsp-graph-online Add a share folder to your onedrive: https://docs.microsoft.com/en-us/onedrive/developer/rest-api/concepts/using-sharing-links?view=odsp-graph-online#add-a-shared-folder-to-the-users-drive btw, it is useful in China to add share permission without invition...
Hello, i'm trying to run the code in the example but i've get a fatal error in redirect.php `PHP Fatal error: Uncaught Exception: The state's redirect URI must be set...
Hello, After authentication i get this error: Fatal error: Uncaught GuzzleHttp\Exception\ClientException: Client error: `POST https://login.microsoftonline.com/common/oauth2/v2.0/token` resulted in a `401 Unauthorized` response: {"error":"invalid_client","error_description":"AADSTS7000215: Invalid client secret provided. Ensure the secret being...
Hi, thanks for your work, it seems awesome. Please can you help me get thumbnails of the files. I'm trying to list the contents of the root: `$list = $client->getRoot()->getChildren();...
How to properly get files in a folder? I found function "fetchChildDriveItems", but it is deprecated (as are an awfully lot of functions in the library). So, what should we...
Hello, I discover the following bug when use this package with Guzzle 7 installed. The code breaks because of the following lines: https://github.com/krizalys/onedrive-php-sdk/blob/98fa821697e4e8ec2720e47c62fd17b49fc38869/src/Proxy/UploadSessionProxy.php#L161-L163 I am getting undefined function stream_to This...
Is there any way to upload db backup file to one drive through Cron Job. Code is working fine when i hit the URL from the browser. But issue is...
Hi Team, I'm getting "code undefined in $_GET" this issue when I try to create access token  $client = Onedrive::client(env('ONEDRIVE_CLIENT_ID')); // Gets a log in URL...
On [line](https://github.com/krizalys/onedrive-php-sdk/blob/9b69396bf7f693222a4f70e8fd328a908332b7cf/src/Proxy/DriveItemProxy.php#L925) array key "Location" is undefined causing the method to fail.