|
The OpenSocial spec says that Person.getId() "Gets an ID that can be permanently associated with this person."
Orkut returns an "OpenSocial" user ID that is different from the Orkut user ID, and this ID is supposed to be different from any user ID on any OpenSocial platform. Hi5, on the other hand returns the Hi5 user id (the same on that goes in the profile URL).
If you're building a cross-platform application, it seems you can get a collision this way with a user on a different social network.
Is this correct?
|
Jul 14, 2008
1:05 PM
|
|
Nevermind, I was wr. Turns out that containers aren't required to do that and collisions are indeed possible unless developers prefix the id with some string to identify the container.
More at this thread:
http://groups.google.com/group/opensocial-api/browse_thread/thread/59982c12c9a55d37
|
Jul 14, 2008
3:16 PM
|
|
this info helps. thanks!
|
Jul 16, 2008
6:21 AM
|
|
Alex,
Thanks for investigating this. I posted your tip to our wiki --- feel free to edit the page and add more information, as well as change the citation acknowledging you.
http://www.hi5networks.com/platform/wiki/OpenSocial/SpecificsOfHi5sImplementationOfOpenSocial
Sameer.
|
Jul 17, 2008
5:59 PM
|