http://developers.facebook.com/docs/reference/api/link/
ユーザのwallで共有されたリンク

目次:

Example

https://graph.facebook.com/114961875194024 (A link shared by Arjun Banker)

Properties

NameDescriptionPermissionsReturns
id

リンクのID

公開

JSON string


from

linkを作成したユーザ

公開

id,nameフィールドを含むJSONオブジェクト


link

共有されたURL

公開

有効なURLを含むJSONオブジェクト

name

linkの名前

公開

JSON string

caption

linkのキャプション(link名の下に表示されるもの)

公開

JSON string

description

linkの説明文(captionの下に表示されるもの)

公開

JSON string

icon

Facebookがnews feedに表示するlinkのアイコンURL

公開

有効なURLを含むJSON文字列

picture

post link投稿で使われる、サムネイル画像のURL

公開

有効なURLを含むJSON文字列

message

ユーザが書き込む、linkに関するメッセージ(オプション)

公開

JSON string

created_time

メッセージが投稿された日時

公開

IETF RFC 3339形式のdatetimeを含むJSON文字列

Connections

NameDescriptionPermissionsReturns
comments

linkに紐づく全コメント

公開

id,from,message,created_timeフィールドを含むJSONオブジェクトの配列

Publishing

publish_streamパーミッションが必要です。
wall投稿するには、linkと、オプションでname,caption,description,messageをユーザ/ページのfeed/wallに対してPOSTリクエストで送ります。
curl -F 'access_token=...' \
-F 'link=http://www.example.com/article.html' \
-F 'picture=http://www.example.com/article-thumbnail.jpg' \
-F 'name=Article Title' \
-F 'caption=Caption for the link' \
-F 'description=Longer description of the link' \
https://graph.facebook.com/me/feed