The Graph API does not provide an explicit sharing operation, but you can create a message that is a link to another message that should be displayed as a shared resource. Something like that:
fb.publish("me/feed", FacebookType.class, Parameter.with("link", "https://www.facebook.com/10152237769155733"));
source
share