org.springframework.social.facebook.api
Interface FqlOperations
public interface FqlOperations
Interface defining operations for querying Facebook with the Facebook Query Language (FQL).
See https://developers.facebook.com/docs/reference/fql/ for details on FQL.
query
<T> List<T> query(String fql,
FqlResultMapper<T> mapper)
- Performs an FQL query, returning a list of results mapped by an
FqlResultMapper
.
- Parameters:
fql
- the FQL querymapper
- an FqlResultMapper
used to map the results to specific object types
- Returns:
- a list of objects of type specified by the given
FqlResultMapper