List of usage examples for org.springframework.social.facebook.api FacebookLink getName
public String getName()
From source file:org.springframework.social.facebook.api.impl.FeedTemplate.java
public String postLink(String ownerId, String message, FacebookLink link) { requireAuthorization();//from w w w.ja v a 2 s.co m MultiValueMap<String, Object> map = new LinkedMultiValueMap<String, Object>(); map.set("link", link.getLink()); map.set("name", link.getName()); map.set("caption", link.getCaption()); map.set("description", link.getDescription()); map.set("message", message); return graphApi.publish(ownerId, "feed", map); }