facebook4j.api
Interface FamilyMethods

All Known Subinterfaces:
Facebook

public interface FamilyMethods

Author:
Ryuji Yamashita - roundrop at gmail.com

Method Summary
 ResponseList<Family> getFamily()
          Returns the current user's family relationships.
 ResponseList<Family> getFamily(Reading reading)
          Returns the current user's family relationships.
 ResponseList<Family> getFamily(String userId)
          Returns a user's family relationships.
 ResponseList<Family> getFamily(String userId, Reading reading)
          Returns a user's family relationships.
 

Method Detail

getFamily

ResponseList<Family> getFamily()
                               throws FacebookException
Returns the current user's family relationships.

Returns:
family relationships
Throws:
FacebookException - when Facebook service or network is unavailable
See Also:
User - Facebook Developers - Connections - family

getFamily

ResponseList<Family> getFamily(Reading reading)
                               throws FacebookException
Returns the current user's family relationships.

Parameters:
reading - optional reading parameters. see Graph API#reading - Facebook Developers
Returns:
family relationships
Throws:
FacebookException - when Facebook service or network is unavailable
See Also:
User - Facebook Developers - Connections - family

getFamily

ResponseList<Family> getFamily(String userId)
                               throws FacebookException
Returns a user's family relationships.

Parameters:
userId - the ID of a user
Returns:
family relationships
Throws:
FacebookException - when Facebook service or network is unavailable
See Also:
User - Facebook Developers - Connections - family

getFamily

ResponseList<Family> getFamily(String userId,
                               Reading reading)
                               throws FacebookException
Returns a user's family relationships.

Parameters:
userId - the ID of a user
reading - optional reading parameters. see Graph API#reading - Facebook Developers
Returns:
family relationships
Throws:
FacebookException - when Facebook service or network is unavailable
See Also:
User - Facebook Developers - Connections - family


Copyright © 2019. All rights reserved.