Welcome Developers!

in

Welcome!

in

Analytics API responds with 404

Last post 04-09-2010 3:24 PM by Joel. 8 replies.
Page 1 of 1 (9 items)
Sort Posts: Previous Next
  • 03-31-2010 7:09 AM

    Analytics API responds with 404

    I started testing your new analytics api, but it's returning 404. This is the url: http://opensocial.myspace.com/roa/09/analytics/158486/1,2,3/1,4/0,1,9/?startdate=2010-02-27T00%3A00%3A00Z&enddate=2010-03-30T00%3A00%3A00Z&sample_increment=monthly I was doing this query inside a browser, logged in myspace. From documentation: "The second way is to request the data from the user context of one of the MySpace user accounts identified as a developer on the application. This mechanism allows you to be authorized when requesting data for multiple applications at a time in a single request. The downside of this is that your developer account needs to be logged in to MySpace itself." But i'm getting this: {"statusCode":"404","statusDescription":"No REST endpoint was found for this request. Please check the URI and HTTP method used."} Is it wrong?
  • 03-31-2010 2:25 PM In reply to

    Re: Analytics API responds with 404

    Hi,

    What documentation are you referring to? I don't think this is live yet.

     

    thanks,

    Joel

  • 04-01-2010 1:16 AM In reply to

    Re: Analytics API responds with 404

    It was released two days ago:
    Blog: http://developer.myspace.com/Community/blogs/devteam/archive/2010/03/29/myspace-developer-analytics-api-launched.aspx
    Docs: http://wiki.developer.myspace.com/index.php?title=Category:Developer_Analytics#Authorization
  • 04-01-2010 2:40 PM In reply to

    • Owyn
    • Not Ranked
    • Joined on 02-05-2008
    • Posts 1

    Re: Analytics API responds with 404

     Hey LudicBits,

     It looks like I made a slight mistake in the docs and added a trailing '/' after the {segments} section, both in the abstract description and in the example.  If that trailing slash gets removed from the query you posted I now get a response with a 401, which is expected for me because I don't have your OAuth credentials.

    I've updated the documentation so it is correct. The sample application does have the correct data, I'd strongly encourage you to download that and check it out if you haven't yet.

     Sorry about the confusion, thanks for bringing it to our attention!

    Owyn

    Filed under: , ,
  • 04-01-2010 2:41 PM In reply to

    Re: Analytics API responds with 404

     thanks, Owyn.

     

    -Joel

  • 04-01-2010 4:36 PM In reply to

    Re: Analytics API responds with 404

    Thank you

    Now I have to figure out how to authenticate.
    Isn't enough to be logged in myspace and hit that url? (that's how i understood the second way of authentication described in docs)
  • 04-05-2010 1:08 PM In reply to

    Re: Analytics API responds with 404

     It requires the same oauth procedure and signing that all other REST api's require.

     

    thanks,

    Joel

  • 04-09-2010 5:28 AM In reply to

    Re: Analytics API responds with 404

    I'm getting a strange error when i'm trying to authenticate:
    http://img.skitch.com/20100409-g7wpk84giuiejqd2hkuwn4pa9f.jpg

    The code i'm using (python):
    http://drp.ly/MByfq
  • 04-09-2010 3:24 PM In reply to

    Re: Analytics API responds with 404

     Hmm. Can you send the following to developerrelations@myspace-inc.com?

    - your appID

    - your consumer key/secret

    - a Wireshark capture of the request/response

     

    I can then escalate this issue and get back to you with an answer.

     

    thanks,

    Joel

Page 1 of 1 (9 items)