Request request = new Request(Session.getActiveSession(), "me/feed", postParams, HttpMethod.POST, new Request.Callback(){...});
RequestAsyncTask task = new RequestAsyncTask(request);
task.execute();這裡的postParams 是 Bundle postParams = new Bundle();
而po出的文會成為什麼樣子則要看我們利用postParam填入什麼屬性。
postParams.putString("name", "Facebook SDK for Android");

link | The link attached to this post (點選name或圖片會跳過去link) |
picture | The URL of a picture attached to this post. The picture must be at least 50px by 50px (though minimum 200px by 200px is preferred) and have a maximum aspect ratio of 3:1 (圖片上的那塊藍綠圖) |
source | The URL of a media file (either SWF or MP3) attached to this post. If both source and picture are specified, only source is used. |
name | The name of the link attachment.(圖片上的Facebook Dialog) |
caption | The caption of the link (appears beneath the link name). If not specified, this field is automatically populated with the URL of the link.(圖片上的Reference Documentation) |
description | The description of the link (appears beneath the link caption). If not specified, this field is automatically populated by information scraped from the link, typically the title of the page. (圖片上的Using Dialogs to interact with users) |
properties | A JSON object of key/value pairs which will appear in the stream attachment beneath the description, with each property on its own line. Keys must be strings, and values can be either strings or JSON objects with the keys text and href .(會接在圖片上description後面) |
actions | A JSON array containing a single object describing the action link which will appear next to the "Comment" and "Like" link under posts. The contained object must have the keys name and link ."{'name'='text', 'link'='URL'}" (會在圖片上like, comment的右邊然後文字為text,連結為URL) |
http://developers.facebook.com/docs/reference/dialogs/feed/
https://developers.facebook.com/docs/reference/dialogs/