한국   대만   중국   일본 
OpenSocial API Blog: OpenSocial 0.6 and Beyond
The Wayback Machine - https://web.archive.org/web/20120725074627/http://blog.opensocial.org:80/2007/12/opensocial-06-and-beyond.html

OpenSocial 0.6 and Beyond

Friday, December 21, 2007 at 8:26:00 AM

Posted by Cassie Doll, Software Engineer

We're pleased to tell you that the OpenSocial JavaScript API version 0.6 has been defined, which updates the initial OpenSocial release to include what we've heard to be the most immediate pain points. As per the release notes , the main changes are:

  • Gadgets can now be container-aware, if necessary, to build tighter integration.
  • Developers can easily have apps that let users navigate between different surface, such as profile and canvas pages.
  • Tighter permission controls for reading the Viewer object from the datastore as well as an optional end-user prompting mechanism.
  • Introduced opensocial.makeRequest, which replaces _IG_FetchContent, allows both POST and GET, and includes an option for OAuth signing or authentication
  • Cleaned up the Activities class: removed the Stream class, removed the summary field, and removed folders (which were deprecated in 0.5 anyway)

We've also put together an overview and specification document , that describes how to comply with and extend OpenSocial, and further explains the background concepts and principles. With this definition in place, the containers are now able to update their sandboxes so application developers can write apps against 0.6. For example, after the holidays, the Orkut sandbox should be updated to 0.6 by mid-January. In the meantime, the in-memory sample container has already been updated to reflect the 0.6 specification.

Now that 0.6 is out there, we're looking for feedback on the JavaScript Priority List of functionality that we're thinking about for OpenSocial 0.7. The goal of this next iteration is to meet the minimum requirements for the initial consumer launches. We've listed each proposed change and bucketed them according to the following priority:

1 = Top priority. This will almost certainly make it into the next iteration (in this case, 0.7).
2 = High Priority. We will do our best to make this happen in the next iteration.
3 = Medium priority. These are likely candidates for a future iteration, but unlikely for 0.7.
4 = Lower priority. These almost certainly won't happen for 0.7, but are still on the radar.

We'd love to hear your feedback on the OpenSocial API group . In particular, please let us know if there is something you're counting on for a public launch that isn't listed as a priority 1 or 2.

P.S. A quick note for those of you who are building apps in the Orkut sandbox, we've just published an Orkut-focused developer guide as well, so check it out.

7 comments:

Daniel Lelis Baggio said...

Hi Cassie,

I've been trying out Orkut's sandbox, running one of the simplest gadgets, the listfriends one, and I've found a couple issues.
When I run the example (http://code.google.com/apis/opensocial/docs/javascript/index.html#ListFriends_Complete)
only 3 friends of mine are listed.
Shouldn't function newFetchPeopleRequest retrieve all of them?

Thank for your attention,
ps. If you're not the one I should ask this, could you please tell me who's the one?

Cassandra said...

Daniel -

Take a look at the recently published Orkut Developer Guide .

The first paragraph under "Installing your application in Orkut" should answer your question. Essentially, the function only returns people that are whitelisted for the sandbox. When OpenSocial launches to everyone on orkut.com it will return all of your friends on that site. (sandbox.orkut.com will probably always return just your whitelisted friends though.)

I hope that helps.

- Cassie

Daniel Lelis Baggio said...

Hi Cassie,
you are absolutely right, only whitelisted should appear and the ones that appear are probably whitelisted :)
Sorry for not reading that quite well,
thanks for the hint,

Danny

Blogs! said...

hi,

how and where can i run may simple program . thanks a lot in advance

Daniel Lelis Baggio said...

I think you are better off trying it in the sandbox firstly. I don't know if there's a better way, but you can sign up for one here:
http://code.google.com/support/opensocialsignup/
Good luck,
[]'s

red said...

Thank you very much for this information.

sohbet

laptop battery said...

We specialize in laptop battery ,laptop AC adapters. All our products are brand new, with the excellent service from our laptop battery of customer service team.
the most convenient and cheap replacement battery online shop in uk. We specialize in laptop batteries ,laptop AC adapters. All our akku are brand new, with the excellent service from our customer service team.
the most convenient and cheap replacement battery online shop in uk. We specialize in laptop batteries,laptop AC adapters. All of batteries are brand new, with the excellent service from our customer service team, you can feel free to purchase on laptop battery!
Here is cheap laptop ac adapter online shop in uk. We specialize in laptop AC adapters . All our au battery are brand new, with the excellent service from our customer service team.