Welcome Developers!

in

Welcome!

in

uninitialized constant OauthController::MySpace

Last post 06-10-2010 11:35 AM by Joel. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 06-09-2010 3:36 AM

    • Mytest
    • Not Ranked
    • Joined on 06-07-2010
    • Posts 2

    uninitialized constant OauthController::MySpace

    hi,

    I tried sample application from "myspaceid-sdk"  and i had already register my applicaton, But i getting error like this

    uninitialized constant OauthController::MySpace in ruby on rails,  when click on OAuth-only example => click here to begin.

    i have consumer_key and consumer_secret  that i properly enter.

    i have install below gems also:

    - oauth

    - myspace

    - mysapce-ruby

    Any One has any idea about this?

    Please reply as soon as possible,

    Thanks,

     priyank

     

  • 06-09-2010 1:22 PM In reply to

    Re: uninitialized constant OauthController::MySpace

     There are certain issues with the current Ruby SDK which are causing this. We are working on an updated Ruby SDK which corrects these issues, however. It should be available in 1-2 weeks for download from our developer site.

     

    thanks,

    Joel

  • 06-10-2010 5:42 AM In reply to

    • Mytest
    • Not Ranked
    • Joined on 06-07-2010
    • Posts 2

    Re: uninitialized constant OauthController::MySpace

     hi,

    Thanks for reply.

    But this error is solved by adding myspace.rb file in /lib directory in rails project. Which contains following code below

    ------------------------------------

    #myspace.rb

     

    require 'rubygems'
    require 'oauth'
    require 'oauth/consumer'
    require 'openid/consumer'
    require 'json'
    require 'logger'

    #require 'patches'  -> comment this because it give me error

    module MySpace
      VERSION = '0.1.11'
    end

    require 'myspace/end_point'
    require 'myspace/myspace'
    require 'myspace/exceptions'
    require 'myspace/oauth_request'

     

    --------------------------------------------

     

     

    But i getting problem now in callback_url.

    Aafter entring users credentials user go to its own profile in myspace not comeback on callback.

     so  please reply if any idea about thi.

    Thanks,

    priyank

  • 06-10-2010 11:35 AM In reply to

    Re: uninitialized constant OauthController::MySpace

     Again, it may be a bug in the gem but you can also check the actual calls made and see if there are any issues. You can send a Wireshark http capture of this to developerrelations@myspace-inc.com if you wish. What is the appID?

     

    -Joel

Page 1 of 1 (4 items)