mabots' blog

知のレバレッジを最大化せよ (旧はてなダイアリーから移転しました。)

Google Friend Connect APIs(GFC)のドキュメントが公開

webサービスにソーシャルガジエットとして埋め込めるGFCですが、

  • あらかじめジェネレートされたJS
  • JavaScript API
  • REST/RPC

のドキュメントが公開されました。

http://code.google.com/intl/ja/apis/friendconnect/getting_started.html#server


とくにRESTまわりは

# No gadgets, iframes or JavaScript required
# Direct access to OpenSocial data from a GFC site through REST/RPC
# Ability to leverage any of the OpenSocial client libraries written in PHP, Ruby, Java and Python
# Authentication and secure server-to-server communication is handled through OAuth
# Enables integration with existing server-side code, such as a login/identity system

サーバーサイドでの組み込みドキュメント
http://code.google.com/intl/ja/apis/friendconnect/serverside_integration.html


サンプルソース(python)
http://code.google.com/intl/ja/apis/friendconnect/articles/serverside_integration.html

が充実しています。サーバーサイドでもログインボックスの中にいれる設定リンク等はJSで生成するんですね。



概要ページ

Google Friend Connect lets site owners instantly awaken and strengthen the community that visits their web site. Friend Connect:

* Makes it easy for every site owner to add Friend Connect to their site regardless of their technical capabilities.
* Uses open standards to let visitors control their own data and freely share it with sites and services as they see fit. Services include OpenID providers like Yahoo, social network providers like Twitter, and update aggregators like Plaxo Pulse.

Friend Connect APIs enable developers to:

* Integrate social flows and data directly within a page's markup, via the OpenSocial standard specification.
* Integrate existing login systems, registered users, and existing data with new social data and activities.
* Create social gadgets & services that are embeddable within millions of Friend Connect enabled sites

http://code.google.com/intl/ja/apis/friendconnect/