MySpace Developer Platform

A Place For Developers

Welcome Developers!

in

Welcome!

in

.NET Client Libraries for REST?

Last post 08-06-2008 11:54 PM by Hip. 47 replies.
Page 4 of 4 (48 items) < Previous 1 2 3 4
Sort Posts: Previous Next
  • 07-30-2008 1:58 AM In reply to

    • duc
    • Not Ranked
    • Joined on 07-29-2008
    • Posts 1

    Re: .NET Client Libraries for REST?

    I get the same problem. i use the code fellow to get Dev Account information

    but it rise the 401 code number error. i don't know whether UserId is important. who can help me?

    requestObj.APIversion = "v1"; requestObj.AssetID = ""; requestObj.BaseApiUrlHost = "api.msappspace.com"; requestObj.ConsumerKey = "http://www.myspace.com/400704684"; requestObj.ConsumerSecret = "5bf8a08d787941a89b8032bc3c518abe"; requestObj.RequestMethod = (HttpPostUtility.RequestMethod)Convert.ToInt32(DropDownList1.SelectedItem.Value); requestObj.RequestMode = HttpPostUtility.RequestMode.QueryString; requestObj.ResponseType = HttpPostUtility.ResponseType.XML; requestObj.Token = ""; requestObj.TokenSecret = ""; requestObj.UserId = "";

     thanks ,

    Lam Tuan Duc 

  • 08-06-2008 11:48 PM In reply to

    • Hip
    • Not Ranked
    • Joined on 08-04-2008
    • Posts 3

    Re: .NET Client Libraries for REST?

     I got it to work by changing the requestObj.BaseApiUrlHost to api.myspace.com.

  • 08-06-2008 11:54 PM In reply to

    • Hip
    • Not Ranked
    • Joined on 08-04-2008
    • Posts 3

    Re: .NET Client Libraries for REST?

     I'm trying to get AGE and City information for the owner friends. Is there away to do this with the .net api. Alot of post say you can use REST to retrive the info but I have not seen any examples. 

     

     

Page 4 of 4 (48 items) < Previous 1 2 3 4