I just started this thread on the MySpace forum:
http://developer.myspace.com/Community/forums/p/1271/5525.aspx
which reads:
On MySpace these are called "opensocial_viewer_id" and
"opensocial_owner_id", whereas they should be called
"opensocial_viewerid" and "opensocial_ownerid" (without a second
underscore). This differs from Orkut's implementation of OpenSocial,
and poses a substantial hurdle to developers building cross-platform
apps.
I completely agree that it makes sense to standardize the param naming conventions across containers. However, AFAIK, the OpenSocial spec does not explicitly address the issue of parameter naming for signed makeRequests - hence the different param names between Orkut and MySpace.
We (@ MySpace) have a number of app developers whose apps rely on our current naming convention and we do not want to break all of them by changing names at this stage. If the naming convention is indeed part of the spec, then we need to figure out a good solution to continue to support our existing app developers and be compatible with the spec at a later stage.
Thanks
Chak
opensocial_owner_id=XX&opesocial_ownerid=XX
The at a later point we can deprecate one of the other.
On Fri, Mar 21, 2008 at 06:06:27PM -0700, Chakradhar Nanga wrote:
> I completely agree that it makes sense to standardize the param naming conventions across containers. However, AFAIK, the OpenSocial spec does not explicitly address the issue of parameter naming for signed makeRequests - hence the different param names between Orkut and MySpace.
>
> We (@ MySpace) have a number of app developers whose apps rely on our current naming convention and we do not want to break all of them by changing names at this stage. If the naming convention is indeed part of the spec, then we need to figure out a good solution to continue to support our existing app developers and be compatible with the spec at a later stage.
>
> Thanks
> Chak
>
>
>
> From: opensocial-an...@googlegroups.com on behalf of Kevin Brown
> Sent: Fri 3/21/2008 5:08 PM
> To: opensocial-an...@googlegroups.com
> Subject: Re: makeRequest POST parameters should be standardized
>
> Agreed -- I could have sworn this was already the case though. This has to
> be consistent across containers in order to ensure that developers don't
> have to modify their back end for every container.
>
> On Fri, Mar 21, 2008 at 4:34 PM, Alex Epshteyn <alexander...@gmail.com>
> wrote:
>
> >
> > Currently some of the parameters passed to an app's server using a
> > signed makeRequest are not compatible between Orkut and MySpace.
> > These should be standardized across containers if they aren't so
> > already.
> >
> > I just started this thread on the MySpace forum:
> >
> > http://developer.myspace.com/Community/forums/p/1271/5525.aspx
> >
> > which reads:
> >
> > On MySpace these are called "opensocial_viewer_id" and
> > "opensocial_owner_id", whereas they should be called
> > "opensocial_viewerid" and "opensocial_ownerid" (without a second
> > underscore). This differs from Orkut's implementation of OpenSocial,
> > and poses a substantial hurdle to developers building cross-platform
> > apps.
> >
> > >
> >
>
>
--
Paul Lindner ||||| | | | | | | | | |
lin...@inuus.com
I completely agree that it makes sense to standardize the param naming conventions across containers. However, AFAIK, the OpenSocial spec does not explicitly address the issue of parameter naming for signed makeRequests - hence the different param names between Orkut and MySpace.
We (@ MySpace) have a number of app developers whose apps rely on our current naming convention and we do not want to break all of them by changing names at this stage. If the naming convention is indeed part of the spec, then we need to figure out a good solution to continue to support our existing app developers and be compatible with the spec at a later stage.
Hi Paul,
That's my current thinking exactly
Thanks
Chak
>> It's probably slightly easier to get Orkut to change at this point since they haven't launched to all users quite yet
That works for us too, Kevin :-)
Sounds good to me as well.
Thanks,
Alex
Would the following change to the spec for 0.8 work?
/**
* Fetches content from the provided URL and feeds that content into the
* callback function. If the request is SIGNED will pass the following
* parameters along to the requested Url:
* - opensocial_viewer_id The id of the current viewer, will match the
* getId() value on the viewer person object
* - opensocial_owner_id The id of the current owner, will match the
* getId() value on the owner person object
*
...
*
* @member gadgets.io <http://gadgets.io>
opensocial_app_id should be the URL of the gadget.
xoauth_signature_publickey should be an identifier for the public key.
There are some proposals out there on how to use this for key
rotation, but as far as I know no one is close to implementing them.
We could either push to figure this out, or else postpone adding it to
the spec.
+1
- Cassie