MySpace Open Platform

A Place For Developers

Welcome Developers!

in

Welcome!

in

Generating oauth_token for external application using php library

Last post 08-11-2008 7:56 PM by ryan. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 05-15-2008 11:39 PM

    • Detour
    • Not Ranked
    • Joined on 05-13-2008
    • Posts 2

    Generating oauth_token for external application using php library

    I know I must be missing something basic here, could someone please post an example of how to generate a request token using the (official) php client? I've read a bunch of threads on the matter but I seem to be missing this one bit... Here's where I am at:  I am creating an external web application that will provide a link that MySpace users can click, login, and return to my site with an authorization token so that I can call the REST interface from there. I understand that I need a token which I believe is a hash of... something. I know that if I go to Test -> External App Auth, I can use the generated link successfully; but the link is single use only. So, what am I missing? Is there some very obvious getRequestToken() or getAuthUrl() method I overlooked somewhere? I've looked at the OAuth classes, but I can't really make heads or tails of them, and I'm no stranger to OOP. Its simply not clear to me which methods in which classes I should be calling, all of the methods are public and there is little documentation regarding what each class or method does.

    Someone please help me out :). Thanks in advance. 

  • 08-11-2008 7:56 PM In reply to

    • ryan
    • Not Ranked
    • Joined on 08-09-2008
    • Posts 1

    Re: Generating oauth_token for external application using php library

     Did you ever figure this out?  I am in the same boat.

     

     

    Filed under:
Page 1 of 1 (2 items)