This project is read-only.

Authentication works, but app doesn't run

May 15, 2008 at 8:46 PM
Hello,

I'm trying to run the test app that came with the MySpace toolkit.  It seems to be authenticating just fine.  However, instead of seeing the app canvas, I see :

This XML file does not appear to have any style information associated with it. The document tree is shown below.

<user xsi:schemaLocation="http://api.myspace.com/MySpaceAPI_1.1.xsd">
<userid>8842028</userid>
<uri>http://api.myspace.com/v1/users/8842028</uri>
<displayname>Panama Joe</displayname>
<weburi>http://www.myspace.com/panamajoe2323</weburi>
<imageuri>
http://b1.ac-images.myspacecdn.com/00055/10/33/55613301_s.jpg
</imageuri>
<largeimageuri>
http://b1.ac-images.myspacecdn.com/00055/10/33/55613301_l.jpg
</largeimageuri>
<usertype>RegularUser</usertype>
</user>

Any idea why I'm having this problem?
May 16, 2008 at 5:24 PM
Currently the toolkit only has the ability to communicate to the API and return XML. In the source tab you can download Changeset 9071 which contains more support for parsing the XML response and providing an object oriented approach.

However, you would still need to take the data response XML or the object associated with your call and layout and style the information accordingly.

Is this what you are trying to do? Display information in the canvas page?

Let me know.

Thanks!
Joseph

afroblanco wrote:
Hello,

I'm trying to run the test app that came with the MySpace toolkit.  It seems to be authenticating just fine.  However, instead of seeing the app canvas, I see :

This XML file does not appear to have any style information associated with it. The document tree is shown below.

<user xsi:schemaLocation="http://api.myspace.com/MySpaceAPI_1.1.xsd">
<userid>8842028</userid>
<uri>http://api.myspace.com/v1/users/8842028</uri>
<displayname>Panama Joe</displayname>
<weburi>http://www.myspace.com/panamajoe2323</weburi>
<imageuri>
http://b1.ac-images.myspacecdn.com/00055/10/33/55613301_s.jpg
</imageuri>
<largeimageuri>
http://b1.ac-images.myspacecdn.com/00055/10/33/55613301_l.jpg
</largeimageuri>
<usertype>RegularUser</usertype>
</user>

Any idea why I'm having this problem?


May 19, 2008 at 4:23 PM
Edited May 19, 2008 at 4:24 PM
Perhaps I'm confused, then.

When I look at the ASPX for the example project, I see all kinds of web controls and stuff.  And when I look at the codebehind for the example project, I see event handlers for these webcontrols.  When I load the application, shouldn't I be seeing all these nifty web controls?  Instead, I get this weird XML readout that I don't really know what to do with.

Thanks for your help - I realize that we're kind of "pioneers" here.