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.


Method Summary
<T> List<T>
query(String fql, FqlResultMapper<T> mapper)
          Performs an FQL query, returning a list of results mapped by an FqlResultMapper.
 

Method Detail

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 query
mapper - an FqlResultMapper used to map the results to specific object types
Returns:
a list of objects of type specified by the given FqlResultMapper