The link you provided already contains a lot of documentation for the method.
Find one example with the publish(objectId, connectionName, data) stream publish(objectId, connectionName, data) here
Also see many examples for github-SpringSource for additional actions, including publish(objectId, connectionName, data) .
Update:
You can get some help from this method:
public void postToWall(String message, FacebookLink link) { MultiValueMap<String, String> map = new LinkedMultiValueMap<String, String>(); map.set("link", link.getLink()); map.set("name", link.getName()); map.set("caption", link.getCaption()); map.set("description", link.getDescription()); map.set("message", message); publish(CURRENT_USER, FEED, map); }
source share