MySpace Developer Platform

A Place For Developers

Welcome Developers!

in

Welcome!

in

app xml

Last post 08-01-2008 7:19 PM by CodeStorm. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 06-03-2008 10:43 PM

    app xml

    Hello,

    I'm working on my first myspace app - it is part of a larger app but what I need to do is grab a user's friends/friend requests/events/messages and if possible profile picture. I'm kind of wondering how exactly the app xml works. Right now I'm trying to just grab some friends and I noticed this xml file http://api.msappspace.com/v1/users/30592203/friends.xml however when I try to get information out of it I get the following error


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

        <error>
    <statuscode>401</statuscode>

        <statusdescription>
    Could not identify or did not find an approved authentication protocol. Check the targeted host and all necessary parameters.
    </statusdescription>
    </error>

     

    I'm not sure what I need to do in order to read this file if anyone can maybe explain the use of the xml files I'd appreciate it. 

    Thanks 

  • 07-18-2008 3:08 PM In reply to

    • Allan
    • Top 500 Contributor
    • Joined on 04-17-2008
    • Posts 10

    Re: app xml

    You have to write your own XML file to be served from your own server. The url to this file, you put in the XML tab when you create your app.

    Try opening xml files on your local machine directly in your browser. Firefox and IE will give you the standard jive about no style information - of course there's none, it's xml. Open and close the subsections so you see what's going on.

    Somewhere around here are example XML files and docs on how to write your own MS app. Usually a sample app example code is best to start from.

  • 08-01-2008 7:19 PM In reply to

    Re: app xml

    The link you provided is part of the REST API, which isn't related to the App Xml.  Here's link link to the REST API reference: http://developer.myspace.com/community/RestfulAPIs/resources.aspx

     

Page 1 of 1 (3 items)