Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Referencing the APIs

The Live Connect APIs include the JavaScript API (Windows 8 and web), the Managed API (Windows 8 and Windows Phone), the iOS API, the Android API, and the Representational State Transfer (REST) API. The following sections guide you to info about how to reference these APIs:

Referencing the JavaScript API (Windows 8 and web)

Instructions for Windows Store apps using JavaScript

To reference the APIs in a project in Microsoft Visual Studio 2012 for Windows 8, see the "Referencing the Live Connect APIs from your Windows Store app using JavaScript" section in Windows Store apps.

Instructions for client-side websites and scripts that use JavaScript

To reference the API, for client-side websites and scripts that use JavaScript, set a reference to a web-based version of the wl.js file from your code, like this.

<script src="//js.live.net/v5.0/wl.js"></script>

A web-based debugging version of wl.js, called wl.debug.js, is also available. It is an uncompressed version of wl.js. To call it, substitute wl.debug.js for wl.js, like this.

<script src="//js.live.net/v5.0/wl.debug.js"></script>

Web-based localized versions of the APIs are available for JavaScript. You add a URL segment that specifies the culture-name string for the localized version that you want to use. For example, to load the web-based Japanese version, your app uses a URL, like this.

<script src="//js.live.net/v5.0/ja/wl.js"></script>

For a complete list of supported localized versions, see Supported locales.

Top

Referencing the Managed API (Windows 8 and Windows Phone)

To reference the API for Windows Store apps with C#, see the "Referencing the Live Connect APIs from your Windows Store app using XAML and C#" section in Windows Store apps. To reference the API for Windows Phone apps with C#, see the "Referencing the Live Connect APIs with C#" section in Windows Phone apps.

Top

Referencing the iOS API

To reference the API for Objective-C, see the "Referencing the iOS API with Objective-C" section in iOS apps.

Top

Referencing the Android API

To reference the API for Java, see the "Referencing the Android API with Java" section in Android apps.

Top

Referencing the REST API

Use the info in Server-side scenarios to learn about available REST calls and their syntax. To learn how to make REST calls for your specific platform and programming language combination, see your documentation.

Top

 

 

Show:
© 2014 Microsoft