facebook4j.api
Interface LocationMethods

All Known Subinterfaces:
Facebook

public interface LocationMethods

Author:
Ryuji Yamashita - roundrop at gmail.com

Method Summary
 ResponseList<Location> getLocations()
          Returns the posts with location.
 ResponseList<Location> getLocations(Reading reading)
          Returns the posts with location.
 ResponseList<Location> getLocations(String userId)
          Returns the posts with location.
 ResponseList<Location> getLocations(String userId, Reading reading)
          Returns the posts with location.
 ResponseList<PlaceTag> getTaggedPlaces()
          Returns a list of tags of this person at a place in a photo, video, post, status or link.
 ResponseList<PlaceTag> getTaggedPlaces(Reading reading)
          Returns a list of tags of this person at a place in a photo, video, post, status or link.
 ResponseList<PlaceTag> getTaggedPlaces(String userId)
          Returns a list of tags of this person at a place in a photo, video, post, status or link.
 ResponseList<PlaceTag> getTaggedPlaces(String userId, Reading reading)
          Returns a list of tags of this person at a place in a photo, video, post, status or link.
 

Method Detail

getLocations

ResponseList<Location> getLocations()
                                    throws FacebookException
Returns the posts with location.

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

getLocations

ResponseList<Location> getLocations(Reading reading)
                                    throws FacebookException
Returns the posts with location.

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

getLocations

ResponseList<Location> getLocations(String userId)
                                    throws FacebookException
Returns the posts with location.

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

getLocations

ResponseList<Location> getLocations(String userId,
                                    Reading reading)
                                    throws FacebookException
Returns the posts with location.

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

getTaggedPlaces

ResponseList<PlaceTag> getTaggedPlaces()
                                       throws FacebookException
Returns a list of tags of this person at a place in a photo, video, post, status or link.

Returns:
a list of Place Tag objects
Throws:
FacebookException - when Facebook service or network is unavailable
See Also:
User - Facebook Developers - Connections - tagged places

getTaggedPlaces

ResponseList<PlaceTag> getTaggedPlaces(Reading reading)
                                       throws FacebookException
Returns a list of tags of this person at a place in a photo, video, post, status or link.

Parameters:
reading - optional reading parameters. see Graph API#reading - Facebook Developers
Returns:
a list of Place Tag objects
Throws:
FacebookException - when Facebook service or network is unavailable
See Also:
User - Facebook Developers - Connections - tagged places

getTaggedPlaces

ResponseList<PlaceTag> getTaggedPlaces(String userId)
                                       throws FacebookException
Returns a list of tags of this person at a place in a photo, video, post, status or link.

Parameters:
userId - the ID of a user
Returns:
a list of Place Tag objects
Throws:
FacebookException - when Facebook service or network is unavailable
See Also:
User - Facebook Developers - Connections - tagged places

getTaggedPlaces

ResponseList<PlaceTag> getTaggedPlaces(String userId,
                                       Reading reading)
                                       throws FacebookException
Returns a list of tags of this person at a place in a photo, video, post, status or link.

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


Copyright © 2019. All rights reserved.