2009年4月16日星期四

Google OpenSocial中文开发API资源

  OpenSocial为构建跨多个网站的社交应用程序提供了一组通用 API。开发人员可以自由使用包括 JavaScript、HTML 在内的更多语言创建应用程序,用以访问社交网络的朋友并更新供稿。OpenSocial 是在小工具技术的基础上构建的,因此开发者可以花费较少的服务成本(甚至无需成本)来创建一个出色的、虚拟的社交应用程序。目前,OpenSocial 由 Google 与网络社区的成员联合开发,许多网站都在应用 OpenSocial,其中包括 Engage.com、Friendster、hi5、Hyves、imeem、LinkedIn、MySpace(聚友)、Ning、Oracle、orkut、Plaxo、Salesforce.com、Six Apart、天极网、天涯社区、Viadeo 和 XING。

  以下是OpenSocial的相关中文资源列表,资料来源于Google中国的开发者网站

  1、OpenSocial中国应用

  平台介绍(PPT)

  opensocial简介(PPT)

  opensocial api简介(PPT)

  InfoQ OpenSocial专题

  2、OpenSocial官方网站 http://www.opensocial.org

  3、JavaScript API最新开发文档(v0.8.1)

  开发人员指南:http://code.google.com/intl/zh-CN/apis/opensocial/docs/0.8/devguide.html

  Release Notes: http://code.google.com/intl/zh-CN/apis/opensocial/docs/releasenotes.html

  API 规范: http://code.google.com/intl/zh-CN/apis/opensocial/docs/0.8/spec.html

  API 参考(opensocial.*): http://code.google.com/intl/zh-CN/apis/opensocial/docs/0.8/reference/

  API 参考(gadgets.*): http://code.google.com/intl/zh-CN/apis/opensocial/docs/0.8/reference/gadgets/

  Gadget XML定义: http://code.google.com/intl/zh-CN/apis/gadgets/docs/reference.html

  4、RESTful的SDK

  PHP: http://code.google.com/p/opensocial-php-client/

  Java: http://code.google.com/p/opensocial-java-client/

  Ruby: http://code.google.com/p/opensocial-ruby-client/

  Python: http://code.google.com/p/opensocial-python-client/

  RSA_SHA1 lib for GAE: http://opensocial-china.googlegroups.com/web/RSA_SHA1.zip

  5、讲座PPT,视频

  2008-6-13 Hackathon

  OpenSocial概览 (简介): http://docs.google.com/Presentation?id=dgqxv878_199ccfbd9cc

  RESTful API (OAuth & Signed Fetch): http://docs.google.com/Presentation?id=dgqxv878_294f5k73bg7

  OpenSocial小工具 - JavaScript API: http://docs.google.com/Presentation?id=dgqxv878_275d8xfk3gz

  Life of a Gadget: http://docs.google.com/Presentation?id=dgqxv878_113hhsfg9zp

  OpenSocial Flash API: http://opensocial-resources-zh.googlecode.com/svn/trunk/opensocial-flashapi/index.html

  OpenSocial小工具实验室: http://opensocial-resources-zh.googlecode.com/svn/trunk/gadget-dev-tutorial/Tutorial.html

  Shindig概览: http://docs.google.com/Presentation?id=dgqxv878_319dd28w4hr

  受限系统的容器托管服务(草案): http://docs.google.com/Presentation?id=dgqxv878_367d2p98md2

  OpenSocial模板系统: http://docs.google.com/Presentation?id=dgqxv878_342gn5ww4fj

  Closing discussion: http://docs.google.com/Presentation?id=dgqxv878_34cm27dzgc

  资源链接页面: http://docs.google.com/Doc?id=dgqxv878_366g253xmdk

  2008-12-16 Hackathon获奖应用链接

  北京站:

  第1名--好友连连看: http://home.myspace.cn/Modules/Apps/Pages/AppDesc.aspx?id=101512

  第2名--一起来抢亲: http://home.myspace.cn/Modules/Apps/Pages/AppDesc.aspx?id=101407

  第3名--程序达人: http://apps.xiaonei.com/openjudge

  上海站:

  第1名--Flickr Show: http://apps.myspace.cn/app/101881

  第2名--Let's Go: http://apps.xiaonei.com/letsgohike

  6、开源项目地址  http://code.google.com/p/easy-opensocial-apps/

  示例教程:http://opensocial-resources-zh.googlecode.com/svn/trunk/gadget-dev-tutorial/Tutorial.html

  新春礼物、朋友打靶、谁更富

  演示链接:http://apps.xiaonei.com/shawngift

  http://apps.xiaonei.com/xnfight

  http://apps.xiaonei.com/whoisrich

  源代码下载:http://code.google.com/p/opensocial-sample-apps/downloads/list

  朋友买卖开源应用实例:

  各个SNS平台上都有的小游戏,可以买卖你的朋友,折腾/安抚你的朋友,这是一个使用了Opensocial API的版本,在客户端Opensocial API之上使用了一个自己开发的小框架,服务器端有java,php和python(appengine)的版本,可以按自己情况下载.

  源代码(java): http://easy-opensocial-apps.googlecode.com/files/friendforsale-java-1.0.zip

  php服务器端: http://easy-opensocial-apps.googlecode.com/files/friendforsale-php-server-0.1.zip

  python(appengine)服务器端: http://easy-opensocial-apps.googlecode.com/files/friendforsale-appengine-server-0.1.zip

  相关文档:

  http://code.google.com/p/easy-opensocial-apps/wiki/friendforsale_sample_manual

  http://easy-opensocial-apps.googlecode.com/files/opensource-friendsale.ppt

  演示链接:

  http://apps.xiaonei.com/os_friendsale

  http://apps.51.com/friendos/

  http://www.yiqi.com/opensocial/applications/preview/212282

  http://sandbox.orkut.com/Main#AppInfo.aspx?appId=247050139713

  http://apps.myspace.cn/app/101854

  爱恨知多少(loveorhate):

  用opensocial restful library php版实现的一个小应用。在这个应用中用到的opensocial功能有:取得个人的信息,取得个人朋友的信息。 小应用的介绍:对朋友的喜爱和憎恶,都表现在这个游戏中,其实这都是现实的,所以要努力让更多的朋友看到自己好的地方喜欢自己。这样才有一个努力进步的自我。

  源代码: http://easy-opensocial-apps.googlecode.com/files/loveorhate-test.zip

  相关文档: http://code.google.com/p/easy-opensocial-apps/wiki/loveorhate_readme

  测试(gtest):

  用Opensocial API编写的做测试的小应用,你可以用你自己有个性的题目,快速地生成一个用来做测试的小应用,你也可以以这个项目为基础来进行修改,增加你自己特有的功能.

  源代码: http://easy-opensocial-apps.googlecode.com/files/gtest-appengine-1.0.zip

  相关文档:

  http://code.google.com/p/easy-opensocial-apps/wiki/gtest_readme

  https://docs.google.com/Doc?id=ddfpfh7f_10g58bc5cq&hl=zh_CN

  easy-opensocial-apps-framework-1.0:

  http://easy-opensocial-apps.googlecode.com/files/easy-opensocial-apps-framework-1.0.zi

  Flash应用开发教程: http://gameandvision.com/opensocial_sns_tutorial

  7、其它相关资源

  Shindig: http://incubator.apache.org/shindig/

  Shindig Wiki: http://cwiki.apache.org/confluence/display/SHINDIG/Index

  Shindig架构: 英文PDF http://groups.google.com/group/opensocial-china/web/ShindigArchitecture_Dec19_2008.pdf

  项目托管: http://code.google.com/p/support/wiki/GettingStarted

  App Engine: http://code.google.com/intl/zh-CN/appengine/

  Google Analytics: http://code.google.com/intl/zh-CN/apis/analytics/

  8、平台的opensocial技术论坛

  51.com: http://developers.51.com/wiki/index.php?title=OpenSocial

  yiqi.com: http://www.yiqi.com/developer/doc.php

  myspace.com: http://developer.myspace.cn/community/

  tianya.cn: http://cache.tianya.cn/index.htm?vitem=http%3A%2F%2Fsandbox.tianya.cn%2Fsandbox%2Fsandbox.jsp

  xiaonei.com: http://dev.xiaonei.com/wiki/Gadget