php-connect-rest-sample
php-connect-rest-sample copied to clipboard
[ARCHIVED] Use Microsoft Graph to access a user’s Microsoft account data from within a php web application. This sample gets OAuth tokens from the Azure AD v2.0 endpoint and uses REST calls directly t...
I've successfully extended this example to read and write user details like [this](https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/api/user_list), [this](https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/api/user_update) and [this](https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/api/profilephoto_get) but when trying to write a profile photo of a user in my organisation...
Hello, how about updating this example to the newest laravel 5.5LTS version? The current version is 5.2
Thanks in advance!
Thanks in advance!
I wanted to integrate provided API in my Angular JS project with php as backend. I am unable to integrate it due to some issues. Can someone guide as to...
Hi I set up this project as suggested in https://github.com/microsoftgraph/php-connect-sample it works fine till authorization but when using send mail code it gives me invalid recipient error ClientException in RequestException.php...
in oauth.php `$provider = new GenericProvider([ 'clientId' => Constants::CLIENT_ID, 'clientSecret' => Constants::CLIENT_SECRET, 'redirectUri' => Constants::REDIRECT_URI, 'urlAuthorize' => Constants::AUTHORITY_URL . Constants::AUTHORIZE_ENDPOINT, 'urlAccessToken' => Constants::AUTHORITY_URL . Constants::TOKEN_ENDPOINT, 'urlResourceOwnerDetails' => '', 'scopes' =>...
I am getting the following errors: ( ! ) Notice: Use of undefined constant clientId - assumed 'clientId' in C:\wamp\impact-research\files\app\oauth.php on line 30 ( ! ) Notice: Use of undefined...
I'm not sure if this is the same issue as the other one I created, but I tried moving the files onto the webserver, since working locally was giving me...
`Notice: Use of undefined constant clientId - assumed 'clientId' in C:\xampp\htdocs\app\oauth.php on line 30 Notice: Use of undefined constant clientSecret - assumed 'clientSecret' in C:\xampp\htdocs\app\oauth.php on line 31 Notice: Use...