Class Place

    • Constructor Detail

    • Method Detail

      • getCategoryList

        public List<CategorygetCategoryList()
        List of other categories for this place.
        Returns:
        List of other categories for this place.
        Since:
        1.6.15
      • getLocation

        public Location getLocation()
        Location containing geographic information such as latitude, longitude, country, and other fields (fields will vary based on geography and availability of information). It is possible for Facebook to return either this value or getLocationAsString().
        Returns:
        Location containing geographic information such as latitude, longitude, country, and other fields.
      • setLocation

        public void setLocation​(Location location)
        Location containing geographic information such as latitude, longitude, country, and other fields (fields will vary based on geography and availability of information). It is possible for Facebook to return either this value or getLocationAsString().
      • getOverallRating

        @GraphAPI(since="2.5")
        public Double getOverallRating()
        Overall Rating of Place, on a 5-star scale. 0 means not enough data to get a combined rating.
        Returns:
        Overall Rating of Place, on a 5-star scale.
      • setOverallRating

        public void setOverallRating​(Double overallRating)
        Overall Rating of Place, on a 5-star scale. 0 means not enough data to get a combined rating.
      • getLocationAsString

        public String getLocationAsString()
        Description for this location.

        It is possible for Facebook to return either this value or getLocation(). If getLocation() returns null, then check this method to see if it has data, e.g. "Philadelphia, PA".

        Returns:
        Description for this location.
        Since:
        1.6.12
      • setLocationAsString

        public void setLocationAsString​(String locationAsString)
        Description for this location.

        It is possible for Facebook to return either this value or getLocation(). If getLocation() returns null, then check this method to see if it has data, e.g. "Philadelphia, PA".

        Since:
        1.6.12