Welcome Developers!

in

Welcome!

in

params_.ownerid != params_.ownerId

Last post 12-11-2008 8:08 PM by rondata. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 12-11-2008 11:05 AM

    params_.ownerid != params_.ownerId

    I'm getting viewer & owner ids from the _params object in the OpenSocial Container. Here's a code sample:

    var osc =  opensocial.Container.get();
    var owner = osc.params_.ownerid;
    var viewer = osc.params_.viewerid;

    I'm finding that sometimes the case is camel-back and in some cases it's not. Sometimes it's "ownerid" and other times it's "ownerId".

    Is this a bug or is there a right way of getting user ids?

    Thanks,
    ~Brock

    Filed under:
  • 12-11-2008 4:43 PM In reply to

    Re: params_.ownerid != params_.ownerId

    Is there a difference between .7 and .8 maybe?

    Need one of our container folks :) 

    Brb.

  • 12-11-2008 4:46 PM In reply to

    Re: params_.ownerid != params_.ownerId

     Brock - do you have an appid that i can use to replicate this?

    -d

    Follow us on twitter for major updates and announcements:

    http://twitter.com/MySpaceDevTeam

    Friend the MDP Profile!
    http://www.myspace.com/myspacedeveloperplatform
  • 12-11-2008 6:20 PM In reply to

    Re: params_.ownerid != params_.ownerId

    rondata@myspace:
    Is there a difference between .7 and .8 maybe?
    Didn't think of that, I have been switching apps over from .7 to .8. I'd swear that I saw the same app get different results on different surfaces, but I may be wrong. If it is a difference between .7 & .8 then that would explain why it was different sometimes.

    I've got everything switched over to 0.8 now and it does seem to be consistently ownerId. If I notice any inconsistencies moving forward I'll be sure to post an app id here. Was getting around 20 apps ready for publishing and switching them all over to the new version of Opensocial was part of the process. 

    Thanks

  • 12-11-2008 8:08 PM In reply to

    Re: params_.ownerid != params_.ownerId

     Keep me posted :)

     

Page 1 of 1 (5 items)