Integration One Drive in PHP

Use this link https://docs.microsoft.com/en-us/onedrive/developer/rest-api/getting-started/graph-oauth?view=odsp-graph-online for documentation

creating a function for curl call

Create Auth Url

Create callback for get access token

Get current user data

Get Refresh Token

Upload File in One Drive

Using function

Using an App Folder to store user content without access to all files

Leave a reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">