Example usage for org.springframework.social.facebook.api PostData toRequestParameters

List of usage examples for org.springframework.social.facebook.api PostData toRequestParameters

Introduction

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

Prototype

public MultiValueMap<String, Object> toRequestParameters() 

Source Link

Usage

From source file:org.springframework.social.facebook.api.impl.FeedTemplate.java

public String post(PostData post) {
    requireAuthorization();/*from  ww  w .  j  av  a  2  s  .  c om*/
    return graphApi.publish(post.getTargetFeedId(), "feed", post.toRequestParameters());
}