public boolean updatePageProfilePhoto(URL picture) throws FacebookException {
return updatePageProfilePhoto("me", picture);
}
public boolean updatePageProfilePhoto(String pageId, URL picture) throws FacebookException {
ensureAuthorizationEnabled();
HttpResponse res = post(buildEndpoint(pageId, "picture"), new HttpParameter[]{new HttpParameter("picture", picture.toString())});
return Boolean.valueOf(res.asString().trim());
}