List of usage examples for org.springframework.social.facebook.api.impl PagedListUtils getPagingParameters
public static MultiValueMap<String, String> getPagingParameters(PagingParameters pagedListParameters)
From source file:org.springframework.social.facebook.api.impl.FriendTemplate.java
public PagedList<User> getFriendProfiles(String userId, PagingParameters pagedListParameters) { MultiValueMap<String, String> parameters = PagedListUtils.getPagingParameters(pagedListParameters); parameters.set("fields", FULL_PROFILE_FIELDS); return graphApi.fetchConnections(userId, "friends", User.class, parameters); }