How about creating your unique IDs with 

  opensocial.getEnvironment().getDomain() + ID

On Mon, Mar 03, 2008 at 05:08:22PM -0800, jdavid.net wrote:
> 
> is there a defined standard/ registration to guarantee a unique id
> given a user on a social network.
> 
> we are looking at providing a widget that will need to store data for
> the user beyond the user persistence data cache, and we will need a
> globally unique idea between all users on all networks.
> 
> i read somewhere that google recommended userid(s) that look like
> {userid} is [A-Za-z0-9]
> 
> hi5:{userid}
> myspace:{userid}
> ning:{userid}
> orkut:{userid}
> 
> in theory this is grand, but if we are addressing things based on
> REST, then
> 
> : becomes %3A in the url or
> 
> hi5%3A{userid}
> 
> which does not seem as clean
> 
> if we used +,_,-,. we might have a cleaner global id
> 
> http://externalprovider.com/userid/hi5+{userid}
> http://externalprovider.com/userid/hi5.{userid}
> http://externalprovider.com/userid/hi5-{userid}
> http://externalprovider.com/userid/hi5_{userid}
> 
> what does everyone else think?
> it would be nice if openSocial just returned the global id, rather
> than a local one, so that widgets and sdks are not adding them.
> You received this message because you are subscribed to the Google Groups 
> "OpenSocial Application Development" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to [EMAIL PROTECTED]
> For more options, visit this group at 
> http://groups.google.com/group/opensocial-api?hl=en
> -~----------~----~----~----~------~----~------~--~---
> 

-- 
Paul Lindner
hi5 Architect
[EMAIL PROTECTED]

Attachment: pgpAriyog9zK3.pgp
Description: PGP signature

Reply via email to