Coder Social home page Coder Social logo

livesdk's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

livesdk's Issues

Searching OneDrive through SDK returns wrong parent_id

A replica of the msdn forum issue as it seems that nobody is monitoring there.

I am trying to search onedrive through live sdk.

When I retrieve normally the "Pictures" folder has the following attributes:

id: folder.29cee92602f9e99d.29CEE92602F9E99D!890

parent_id: folder.29cee92602f9e99d

But when I retrieve through search queries, the same "Pictures" folder reveal the following in the search response:

id: folder.29cee92602f9e99d.29CEE92602F9E99D!890

parent_id: folder.29cee92602f9e99d.29CEE92602F9E99D!105

As you can see the parent_id is broken, and as usual when I parse the parent_id and try to use it to retrieve parent object I get "resource not found" exception message. Is this a bug in the search endpoint, or am I missing something? Is there any workaround?

Javascript API Doesn't Like Ports other than 80

Naturally, I use VS to author my web applications. And VS by default, uses Cassini and assigns a dynamic port number to a web application.

Using the JS API with this addressing scheme does not work. The library will complain with: "[WL]WL.login: The 'wl_auth' cookie is not valid.".

Which, of course, is not true. If you simply refersh your login page, the sign in will turn to sign out.

After much cursing today, I decided to tell VS to use IIS with a domain name. And everything now works.

Maybe you can add this to the readme for the aspx sample. It sure would've have saved me a ton of grief today.

Thanks,
Chris

Namespace issue(s) with ASP.NET Oauth sample code

I'm having a couple issues with the ASP.NET Oauth sample code.

  1. System.Runtime.Serialization.Json not found -- reportedly requires reference to System.ServiceModel.Web namespace.
  2. There's another missing namesapce reference required for the following classes, and I haven't been able to track it down: OAuthConstants, OAuthToken, OAuthError.

What an I missing?

com.microsoft.live.LiveAuthException

Hi

I am using LiveSDK for my android. From last two days my application throws exception while I try to login using SDK.

com.microsoft.live.LiveAuthException: The provided value for the input parameter 'display' is not valid. Expected values are the following: 'popup', 'page', 'touch', and 'none'.

I am unable to find issue as it was working fine and all things are broken now

Arshad Nisar

Time out exception

The following line of code throws

using (StreamWriter writer = new StreamWriter(request.GetRequestStream()))

The operation has time out exception. Please help to fix this.

JsonWebToken sample is not working correctly

In "LiveSDK/Samples/Asp.net/AuthenticationTokenSample/JsonWebToken.cs" there are two mistakes that make the signature validation fail:

  1. In line 284 - the HMACSHA256 should be created using the 'signingKey' variable and not 'bytes'.
  2. In line 260 - the comment says to use key + "JWTSIG", but the code only uses 'key'. In fact none of these work, and only when changed to key + "JWTSig" (with lowercase 'ig') the validation passes.

I am not sure what is the standard way to create the signing key, but it looks like the Live Connect service uses key + "JWTSig" to sign the token.
I also found a version of this validation code that does use "JWTSig" on MSDN forum - http://social.msdn.microsoft.com/Forums/en-US/messengerconnect/thread/0705264a-e306-4cfd-a007-017fd60b1f6a

XMPP login gives not-authorized

When trying to use the sample code with my own accessToken (requested using the scopes wl.basic,wl.offline_access), I get the following error:
no more data available - expected end tag /stream:stream to close start tag stream:stream from line 1, parser stopped on END_TAG seen ......

Doesn't work w/ 8.1 with c# and xaml

Attempting to run this with version 5.4 of the live sdk and refactoring to 8.1 is a complete mess and doesn't work. (note all the grey boxes are folders, but clicking on them does nothing)

image

Mac OS X support

I've added a new target to IOS project that support Mac OS X following REST API Commands. are implemented so far.

-(void) getUserProfile;
-(NSURL *) getUserProfileImage;

  • (void) getPermissions;
  • (void) getUserAlbums;

// Not working yet: createAlbum getting missing 'name' & Untested: udpateAlbums

  • (void) createAlbum: (NSString ) theFolderName folderDescription: (NSString) description;
  • (void) udpateAlbums: (NSString ) inFolderID folderName: (NSString *) theFolderName folderDescription: (NSString) description;
  • (void) getMediaInfo: (NSString *) mediaID options: (NSDictionary *) options;
  • (void) getTags: (NSString *) mediaID options: (NSDictionary *) options; // limit=2 etc
  • (void) getComments: (NSString *) mediaID options: (NSDictionary *) options;
  • (void) getUserContacts: (NSString *)contentID;

//- (void) createContacts: (NSString *)contentID contactList: (NSDictionary *) newContacts;

  • (void) getUserFriends;
  • (void) getUserApplications;
  • (void) getFolderProperties: (NSString *) folderID options: (NSDictionary *) optionsDict;
  • (void) getFileListInFolder: (NSString *) folderID options: (NSDictionary *) optionsDict;
  • (void) getFileProperties: (NSString *) fileID;
  • (NSString *) getFileURLString: (NSString *) fileID;

But I am having issue with creating albums JSON Body contains:

createAlbum call with JSON Body: '{ 'name' : 'iWatermark Pro' } type: "album"
'
2012-01-30 21:29:35.833 LiveServicesMacOS[39187:a0f] startPOSTRequest /v5.0/me/skydrive as Type: application/json
body: 45 lenth
2012-01-30 21:29:37.278 LiveServicesMacOS[39187:a0f] response: 400 - URL path /v5.0/me/skydrive
2012-01-30 21:29:37.278 LiveServicesMacOS[39187:a0f] Path: @ error: /v5.0/me/skydrive
Error return:

error = {
code = "request_parameter_missing";
message = "The provided request entity body is missing a required parameter 'name'. Required parameters are the following: 'name'.";
};
}

Any suggestions?

I also using JSON Parser :

@mainpage A strict JSON parser and generator for Objective-C

JSON (JavaScript Object Notation) is a lightweight data-interchange
format. This framework provides two apis for parsing and generating
JSON. One standard object-based and a higher level api consisting of
categories added to existing Objective-C classes.

Learn more on the http://code.google.com/p/json-framework project site.

This framework does its best to be as strict as possible, both in what it
accepts and what it generates. For example, it does not support trailing commas
in arrays or objects. Nor does it support embedded comments, or
anything else not in the JSON specification. This is considered a feature.

Wrong license.

The license included in this package does not even allow the use of the very samples.

The iOS sample is in violation of the license, as iOS is not a Windows platform

Use an open source license.

Unable to register a Metro-style app

Our server is having a problem. We're working to fix it as soon as we can, so try again in a few minutes.

Go back to Overview page.

(ID:b17115de-6372-4805-af2b-08457ffc9f94-114, 4/11/2012 2:33:44 AM UTC)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.