Download presentation
Presentation is loading. Please wait.
Published byIndra Muljana Modified over 5 years ago
1
5/2/2019 4:03 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
2
Build smart productivity apps with Microsoft Graph JavaScript SDK
5/2/2019 4:03 PM Build smart productivity apps with Microsoft Graph JavaScript SDK Richard diZerega Principal Software Engineer Commercial Software Engineering © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
3
SDK Features Built for Node.js and client-side applications
Build 2015 5/2/2019 4:03 PM SDK Features Built for Node.js and client-side applications (NODE) npm (Client-side) <script type="text/javascript" src="graph-js-sdk-web.js"></script> Decoupled from authentication var client = MicrosoftGraph.Client.init({ authProvider: (done) => { done(null, "ACCESS_TOKEN_HERE"); } }); © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
4
Build 2015 5/2/2019 4:03 PM SDK Features API + Query Parameter(s) + Action returns Promise // get the names of my top 5 contacts on the beta endpoint client.api('me/people') .version("beta") //optional .top(5) .select("displayName") .get((err, res) => { const topContacts = res.value.map((u) => { return u.displayName }); console.log("Top contacts:", topContacts.join(", ")); }); Typings available for TypeScript/IntelliSense © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
5
Demo Graph SDK for PHP
6
Start Developing Graph SDKs http://aka.ms/graphsdks
Graph SDK for JavaScript Microsoft Graph Github StackOverflow [microsoftgraph]
7
5/2/2019 4:03 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.