How can i edit this code to post on my wall a photo that are for example in the directory: "C:\myfiles\myphoto.jpg"?
FacebookType publishPhotoResponse = facebookClient.publish("me/photos", FacebookType.class,
BinaryAttachment.with("cat.png", getClass().getResourceAsStream("/cat.png")),
Parameter.with("message", "Test cat"));