Example usage for org.springframework.social.facebook.api FacebookLink getDescription

List of usage examples for org.springframework.social.facebook.api FacebookLink getDescription

Introduction

In this page you can find the example usage for org.springframework.social.facebook.api FacebookLink getDescription.

Prototype

public String getDescription() 

Source Link

Usage

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 va 2s  .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);
}