liveservices / livesdk Goto Github PK
View Code? Open in Web Editor NEWLiveSDK library for integrating with Live Connect
Home Page: https://dev.onedrive.com
LiveSDK library for integrating with Live Connect
Home Page: https://dev.onedrive.com
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?
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
I'm having a couple issues with the ASP.NET Oauth sample code.
What an I missing?
Shows error Invalid redirect_uri...
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
The following line of code throws
using (StreamWriter writer = new StreamWriter(request.GetRequestStream()))
The operation has time out exception. Please help to fix this.
In "LiveSDK/Samples/Asp.net/AuthenticationTokenSample/JsonWebToken.cs" there are two mistakes that make the signature validation fail:
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
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 ......
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;
// Not working yet: createAlbum getting missing 'name' & Untested: udpateAlbums
//- (void) createContacts: (NSString *)contentID contactList: (NSDictionary *) newContacts;
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.
Hi,
Is there a way to invoke a no-popup approach and at the same time get the profile email when logged in?
Thanks.
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.
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)
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.