}
public boolean addTagToPhoto(String photoId, String toUserId) throws FacebookException {
ensureAuthorizationEnabled();
HttpResponse res = post(buildEndpoint(photoId, "tags"), new HttpParameter[]{new HttpParameter("to", toUserId)});
return Boolean.valueOf(res.asString().trim());
}
public boolean addTagToPhoto(String photoId, TagUpdate tagUpdate) throws FacebookException {
ensureAuthorizationEnabled();
HttpResponse res = post(buildEndpoint(photoId, "tags"), tagUpdate.asHttpParameterArray());