Welcome Developers!

in

Welcome!

in

Fetch friend list in c# asp.net

Last post 05-21-2010 2:23 PM by Joel. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 05-20-2010 3:17 AM

    • Lokesh
    • Not Ranked
    • Joined on 05-20-2010
    • Posts 3

    Fetch friend list in c# asp.net

    Hi, I m new at myspace API. I want to fetch the friend list of the Specified MySpace account / User. I searched and tried a lot but not able to get any success. I also tried its sample code but always gives error like "Access Denied". Please help me out.
  • 05-20-2010 2:28 PM In reply to

    Re: Fetch friend list in c# asp.net

    Hi,

    Could you post the code here that you're using so I can see what you did? Also post whatever the response was.

    Ideally, you can also send the following to developerrelations@myspace-inc.com:

    - appID

    - consumer key/secret

    - a Wireshark http (pcap) capture of the request and response.

     

    thanks,

    Joel

  • 05-21-2010 1:58 AM In reply to

    • Lokesh
    • Not Ranked
    • Joined on 05-20-2010
    • Posts 3

    Re: Fetch friend list in c# asp.net

    Hi,

    Thanks for your reply and showing interest in my query.

    I am trying to fetch the user detail, friend list, and comments based on the UserId.

    I have used the one sample code from the blog. Following is the link to that blog and code.
    http://stevenng.net/2009/03/17/using-myspace-rest-api-with-oauth-and-c/

    App ID: 187536

    consumerKey = "http://www.myspace.com/535663070";

    consumerSecret = "a3796b8104a3447e9880fda8cb649bac92484380621641b0ac37c27c8c94b6c6";

    I tried several userIds @ YOUR_USER_ID for e.g. 1400
    rptFriends.DataSource = fb.MakeRequest("/v1/users/YOUR_USER_ID/friends.xml?page_size=100");

    This code gives me an error message of (401) Unauthorized myspace.

     
  • 05-21-2010 2:23 PM In reply to

    Re: Fetch friend list in c# asp.net

     Actually you probably don't want to post this stuff here. And can you send the Wireshark .pcap file to developerrelations@myspace-inc.com.

    We need to see what in the request is causing the failure.

     

    thanks,

    Joel

Page 1 of 1 (4 items)