Facebook APIは以下のサイトに公式ドキュメントが公開されています。 Getting Started - Facebook Developers(英語) https://developers.facebook.com/docs/ Facebook APIを使うことにより、自身のアプリをFacebookと連携させることができます。 例えば、自身のアプリからFacebookへ投稿する、投稿されたデータを読み込むといった処理をすることが可能になります。
「サイボウズ・アドベントカレンダー」の9日目です(これまでの記事一覧)。 こんにちは。サイボウズLive チームの福嶋です。 サイボウズLive では、Facebook アカウントでのユーザー登録やログインができます。 これを実現するために、サイボウズLive サーバから、 Facebook Graph API を利用しています。 他にもいろんなところで Facebook Graph API を利用しているので、サイボウズLive が実際に使っている例を交えて、Facebook Graph API でできることを紹介していきます。 Facebook API Explorer この記事で紹介している API の多くは、 Facebook API Explorer で試せます。 その使い方を簡単に説明します。 Facebook API Explorer を開く アクセストークンを取得 ボタンを
使い方はここを読んでもらうとして、必要なところだけまとめると ○基本的な形式 https://graph.facebook.com/ID IDは全てのオブジェクトに対して一意に決まる数字の識別子。 人やFacebookページへのアクセスに関しては https://graph.facebook.com/btaylor IDに名前かページにしてもアクセス可能 ○Authentication フィードのうち公開情報として取って来れるものと取って来れないものがあって、 例えば、上記のリンクにアクセスすると以下の通り。 id, name, first_name, last_name, link, username, gender, localeが拾える { "id": "220439", "name": "Bret Taylor", "first_name": "Bret", "last_name"
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く