* @throws FlickrException
*/
public void postPhoto(Photo photo, String blogId, String blogPassword)
throws IOException, SAXException, FlickrException {
List parameters = new ArrayList();
parameters.add(new Parameter("method", METHOD_POST_PHOTO));
parameters.add(new Parameter("api_key", apiKey));
parameters.add(new Parameter("blog_id", blogId));
parameters.add(new Parameter("photo_id", photo.getId()));
parameters.add(new Parameter("title", photo.getTitle()));
parameters.add(new Parameter("description", photo.getDescription()));
if (blogPassword != null) {
parameters.add(new Parameter("blog_password", blogPassword));
}
parameters.add(
new Parameter(
"api_sig",
AuthUtilities.getSignature(sharedSecret, parameters)
)
);