facebook4j.api
Interface LikeMethods

All Known Subinterfaces:
Facebook

public interface LikeMethods

Author:
Ryuji Yamashita - roundrop at gmail.com

Method Summary
 ResponseList<Like> getUserLikes()
          Returns all the pages the current user has liked.
 ResponseList<Like> getUserLikes(Reading reading)
          Returns all the pages the current user has liked.
 ResponseList<Like> getUserLikes(String userId)
          Returns all the pages a user has liked.
 ResponseList<Like> getUserLikes(String userId, Reading reading)
          Returns all the pages a user has liked.
 

Method Detail

getUserLikes

ResponseList<Like> getUserLikes()
                                throws FacebookException
Returns all the pages the current user has liked.

Returns:
likes
Throws:
FacebookException - when Facebook service or network is unavailable
See Also:
User#likes - Facebook Developers

getUserLikes

ResponseList<Like> getUserLikes(Reading reading)
                                throws FacebookException
Returns all the pages the current user has liked.

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

getUserLikes

ResponseList<Like> getUserLikes(String userId)
                                throws FacebookException
Returns all the pages a user has liked.

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

getUserLikes

ResponseList<Like> getUserLikes(String userId,
                                Reading reading)
                                throws FacebookException
Returns all the pages a user has liked.

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


Copyright © 2019. All rights reserved.