public boolean postScore(int scoreValue) throws FacebookException {
return postScore("me", scoreValue);
}
public boolean postScore(String userId, int scoreValue) throws FacebookException {
ensureAuthorizationEnabled();
HttpResponse res = post(buildEndpoint(userId, "scores"),
new HttpParameter[] {new HttpParameter("score", scoreValue)});
return Boolean.valueOf(res.asString().trim());
}