MySpace Open Platform

A Place For Developers

Welcome Developers!

in

Welcome!

in

third-party application oauth process by Restful API

Last post 04-16-2009 7:54 PM by Hb. 7 replies.
Page 1 of 1 (8 items)
Sort Posts: Previous Next
  • 04-14-2009 5:41 AM

    • Jesse
    • Not Ranked
    • Joined on 04-14-2009
    • Posts 3

    third-party application oauth process by Restful API

    Hi,

        I meet a problem when i develop a third-part application on windows mobile platform.

        When application do the oauth process as the follow docment

        http://wiki.developer.myspace.com/index.php?title=OAuth_REST_API_Usage_-_Authentication_Process

        step1 is ok ,and can get the server's response. step2,I open browser and let user to do the authentication,

        but the problem is if i put the useid which is not the id i get the comsumer_key and comsumer_seceret, the browser will do not  redirction the call_back URL which was set by step3 and the browser will goto the myspace home page.

       how can i do? i do not know how to do?

       anyone can help me. please

     

     

     

  • 04-14-2009 9:06 AM In reply to

    Re: third-party application oauth process by Restful API

    I'll try to see what's going on with this.

    Rhonda

     

  • 04-14-2009 12:48 PM In reply to

    Re: third-party application oauth process by Restful API

     What language are you using?


    Have you seen the MySpaceID SDK?

      http://wiki.developer.myspace.com/index.php?title=Category:MySpaceID_SDK

     

    Let me know if this helps. :)

     

    Rhonda

     

  • 04-14-2009 6:22 PM In reply to

    • Jesse
    • Not Ranked
    • Joined on 04-14-2009
    • Posts 3

    Re: third-party application oauth process by Restful API

          I have reviewed the myspaceID SDK,Our project uses the C++ language because we have a facebook code, just need rewrite the network transaction part. so i think we can not use the MySpaceID SDK for development.

  • 04-14-2009 6:43 PM In reply to

    • Lifeng
    • Not Ranked
    • Joined on 04-07-2009
    • Posts 5

    Re: third-party application oauth process by Restful API

    By the way, i use the tools

    http://developer.myspace.com/Modules/APIs/Pages/AccessDelegationTool.aspx

    and find the same problem if i use the diffent id which is not get the comsumer_key

     

  • 04-15-2009 10:38 AM In reply to

    Re: third-party application oauth process by Restful API

    Thanks for the info, I'll try to see what's going on.

    Rhonda

     

  • 04-16-2009 6:42 PM In reply to

    • Lifeng
    • Not Ranked
    • Joined on 04-07-2009
    • Posts 5

    Re: third-party application oauth process by Restful API

    hi, i have solve the problem by publish my app, but i have another problem at step5 which get the use infomationi,the server give the response

    <error xmlns="api-v1.myspace.com"><statuscode>401</statuscode><statusdescription>Authentication failed. Failed to resolve application URI "http://cienet.com.cn/SE_MySpace,http://cienet.com.cn/SE_MySpace"</statusdescription></error>

    I do not know how we can do it ,by the way, we test it use this OAuth Tool.which the data is the same,and the respone is the same ?

    how we can develop? no document,how we can do ?plz  

     

  • 04-16-2009 7:54 PM In reply to

    • Hb
    • Not Ranked
    • Joined on 04-02-2009
    • Posts 4

    Re: third-party application oauth process by Restful API

    I meet the same problem. I am developing offsite App by using OAuth and Rest API with C++. Aftfer getting the access token and secret, I sent Rest API /v1/user to retrieve the user's base information, such as User ID.

    But, the server always replied <error xmlns="api-v1.myspace.com"><statuscode>401</statuscode><statusdescription>Authentication failed. Failed to resolve application URI "my consumer key,my consumer key"</statusdescription></error>.

    What wrong is it? I have published my App. Should I do any other step to my consumer key also called application URL?

Page 1 of 1 (8 items)