I got this code from google.I created one application in facebook and i got access token also from facebook.Now the problem is here some attributes are there to fill.Can anyone help me to find what values to b given to the attributes in this line of code:method.addParameter("actions", "[{\"name\": \"" + linkText + "\" , \"link\": \"" + linkURL + "\"}]");

import java.io.IOException;
import java.net.MalformedURLException;
import org.apache.commons.httpclient.HttpClient;
import org.apache.commons.httpclient.methods.PostMethod;
import org.apache.log4j.Logger;
import org.json.JSONException;
import org.json.JSONObject;

public class Facebook {
private static Logger log = Logger.getLogger(Facebook.class);

public static void main(String args[]) {
boolean status = false;
HttpClient client = null;
PostMethod method = null;
String url = null;
String uploadResponse = null;
String headingMessage = null;
String appName = null;
String appURL = null;
String linkText = null;
String linkURL = null;
String publishCaption = null;
JSONObject jsonObj = null;
String publishedId = null;
String accessToken = null;
String userId = null;

try {
userId = "[USER FACEBOOK ACCOUNT ID]";
url = https://graph.facebook.com/$PROFILE_ID$/feed;
url = url.replace("$PROFILE_ID$", userId);

accessToken = "[USER ACCESS TOKEN]";

client = new HttpClient();
method = new PostMethod(url);

method.addParameter("access_token", [USER ACCESS TOKEN]);
method.addParameter("message", headingMessage);
method.addParameter("link", [FACEBOOK CANVAS APPLICATION URL]);
method.addParameter("name", [FACEBOOK APPLICATION NAME]);
method.addParameter("actions", "[{\"name\": \"" + linkText + "\" , \"link\": \"" + linkURL + "\"}]");
method.addParameter("type", "link");
method.addParameter("caption", publishCaption);

client.executeMethod(method);
uploadResponse = method.getResponseBodyAsString();

if (uploadResponse != null) {
jsonObj = new JSONObject(uploadResponse);
try {
publishedId = jsonObj.getString("id");
status = true;
} catch (JSONException e) {
log.error("Message could not be published to WALL", e);
}
}
catch(Exception e1) {
log.error("Error occurred while publish message to WALL", e1);
}
}
}