Welcome Developers!

in

Welcome!

in

MySpace Ruby REST API

Last post 07-15-2010 12:30 PM by Joel. 5 replies.
Page 1 of 1 (6 items)
Sort Posts: Previous Next
  • 03-07-2008 4:57 PM

    • Chris
    • Not Ranked
    • Joined on 02-04-2008
    • Posts 2

    MySpace Ruby REST API

    We've just released the first version of the official MySpace client library for Ruby.

    It's hosted on RubyForge, and the project page is here:

    http://rubyforge.org/projects/myspace-ruby/

    You can download the library and install it yourself from the link above, or install it with gem, like so:

    gem install myspace-ruby --remote

    Enjoy!

     

    Filed under:
  • 03-10-2008 11:48 PM In reply to

    Re: MySpace Ruby REST API

    ooh yay, now _I_ finally get to play :D 

    Please follow us on Twitter for major announcements and updates:

    http://www.twitter.com/MySpaceDevTeam
  • 07-08-2008 8:43 AM In reply to

    Re: MySpace Ruby REST API

    Very nice. An example would be nice.

     

  • 01-24-2009 2:27 PM In reply to

    Re: MySpace Ruby REST API

    Thanks for the library. Are there plans to update this library as MySpace REST APIs get updated and expanded? or is really meant to be sample code? I noticed on RubyForge the latest update to this library has been Apr 26 2008. I'm sure there have been many changes to the REST api since then? 

     From a cursory look at the source, the code looks really elegantly written, would you be accepting patches?

     Thanks,

    chao

     

  • 07-14-2010 3:39 PM In reply to

    Re: MySpace Ruby REST API

    Hello, I tried out the OAuth sample rails application that came with the SDK and when I replaced the sample CONSUMER_KEY and CONSUMER_SECRET with my version (from a MySpaceID app that I am creating), I could not get the access token successfully. I get the error:
    "oauth_problem=parameter_rejected,oauth_problem_advice=oauth_verifier is invalid or doesn't match". I've tried fiddling around with the settings of my External Application. Here are the settings for the External URL: http://localhost:3000 and for the External Callback Validation: http://localhost:3000/oauth/callback/ (I've tried it with and without the trailing '/'). Somehow the sample consumer_key and consumer_secret work magically. So I 1) started up the rails site on my own machine, 2) navigated to http://localhost:3000/oauth/index, 3) clicked on "Click here to begin" 4) since i was already logged in I clicked Continue to link my account to the app 5) Navigated to http://localhost:3000/oauth/callback in the same browser window session. Then I got the error mentioned above. Thanks, Patrick


    UPDATE: OK, problem solved!!! Once I patched the myspace.rb file in the gem cache to fix the callback url redirection problem (see http://code.google.com/p/myspaceid-ruby-sdk/issues/detail?id=2) I had no more problems! Wow, wasted a day with this problem. I guess I don't completely understand the OAuth process but the actual redirection to the callback page solved the trick!!!
    Filed under: , , , ,
  • 07-15-2010 12:30 PM In reply to

    Re: MySpace Ruby REST API

     We have an updated Ruby SDK coming soon. Maybe that's the one you used.

     

    thanks,

    Joel

Page 1 of 1 (6 items)