http://developers.facebook.com/docs/reference/api/album/
写真アルバム
目次:
写真アルバム
目次:
写真アルバム
Example
https://graph.facebook.com/99394368305 (Coca-Cola ページの wall 投稿写真)Properties
| Name | Description | Permissions | Returns |
| id | 写真アルバムのID | 公開 | A JSON string |
| from | このアルバム作成者のプロフィール | 公開 | idとnameフィールドを含むJSONオブジェクト |
| name | アルバムのタイトル | 公開 | A JSON string |
| description | アルバムの説明文 | Facebook内のみ公開 | A JSON string |
| location | アルバムの位置情報 | Facebook内のみ公開 | A JSON string |
| link | Facebook内のこのアルバムへのリンク | 公開 | 有効なURLを含むJSON string |
| privacy | アルバムのプライバシー設定 | Facebook内のみ公開 | A JSON string |
| count | アルバム中の写真の枚数 | 公開 | A JSON string |
| created_time | 写真アルバムが作成された時刻 | 公開 | IETF RFC 3339 形式のdatetimeを含むJSON string |
| updated_time | 写真アルバムの最終更新日時 | 公開 | IETF RFC 3339 形式のdatetimeを含むJSON string |
Connections
| Name | Description | Permissions | Returns |
| photos | アルバムに含まれる写真 | 公開 | photoオブジェクトの配列 |
| comments | アルバムについているコメント | 公開 | id,from,message,created_timeフィールドを含むJSONオブジェクト |
| picture | アルバムの表紙写真 | 公開 | アルバムの表示写真のURL(302ステータス) |
Publishing
publish_streamパーミッションを必要とします。新規に空っぽのアルバムを作成するには、アルバム名と説明文(オプション)をhttp://graph.facebook.com/PROFILE_ID/albumsへPOST送信してください。
写真をアルバムに追加する方法については、Photo documentationをご覧ください。
curl -F 'access_token=...' \
-F 'name=My new photo album' \
-F 'message=My photo album description' \