public boolean deleteAchievement(URL achievementURL) throws FacebookException {
return deleteAchievement("me", achievementURL);
}
public boolean deleteAchievement(String userId, URL achievementURL) throws FacebookException {
ensureAuthorizationEnabled();
HttpResponse res = delete(buildEndpoint(userId, "achievements"),
new HttpParameter[] {new HttpParameter("achievement", achievementURL.toString())});
return Boolean.valueOf(res.asString().trim());
}