ankitsam / office365-api-php-client Goto Github PK
View Code? Open in Web Editor NEWThe Office 365 RESTful API PHP Client Library enables you to work with Calendar, Contact and Mail that uses OAuth2 for authorization.
License: Apache License 2.0
The Office 365 RESTful API PHP Client Library enables you to work with Calendar, Contact and Mail that uses OAuth2 for authorization.
License: Apache License 2.0
I ran into a problem where I was getting back an error that my client secret was invalid, and eventually figured out it was because of special characters in it. I'm not sure if it was the / or the +, but I ended up regenerating the key and getting one with only alpha-numberic chars and =, which works fine. I'm not sure what the proper way is to escape the values so that they are parsed correctly on the receiving end, but wanted to let you know about the issue.
I'm trying to use this library to communicate with ONENOTE API, but always get the 401 Unauthorized code.
I don't know what's wrong with accessToken, when i check the scope:
stdClass Object(
[token_type] => Bearer
[expires_in] => 3599
[scope] => Contacts.Read Mail.Read User.Read User.Read.All
[expires_on] => 1444251788
[not_before] => 1444247888
[resource] => https://graph.microsoft.com/
[access_token] => access_token here
[refresh_token] => refresh_token here
[id_token] => id_token here
)
I can't see onenote scope on list.
I also open an issue on stackoverflow:
http://stackoverflow.com/questions/33002134/office365-api-onenote-api-included
Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.