searchByLocation() public méthode

Search Places by Location
public searchByLocation ( $lat, $long )
$lat string Latitude
$long string Longitude
 /**
  *
  * Search Facebook Places by Location
  *
  * @param string $latitude Latitude
  * @param string $longitude Longitude
  * @return API\Response\PlacesFacebookSearchResponse
  * @throws Exception
  */
 public function searchFacebookPlacesByLocation($latitude, $longitude)
 {
     if (!$this->isLoggedIn()) {
         throw new InstagramException("You must be logged in to call searchFacebookPlacesByLocation().");
     }
     $request = new PlacesFacebookSearchRequest($this);
     $request->searchByLocation($latitude, $longitude);
     $response = $request->execute();
     if (!$response->isOk()) {
         throw new InstagramException(sprintf("Failed to searchFacebookPlacesByLocation: [%s] %s", $response->getStatus(), $response->getMessage()));
     }
     return $response;
 }
 /**
  *
  * Search Facebook Places by Location
  *
  * @param string $latitude Latitude
  * @param string $longitude Longitude
  * @return API\Response\PlacesFacebookSearchResponse
  * @throws Exception
  */
 public function searchFacebookPlacesByLocation($latitude, $longitude)
 {
     if (!$this->isLoggedIn()) {
         throw new InstagramException("You must be logged in to call searchFacebookPlacesByLocation().");
     }
     $request = new PlacesFacebookSearchRequest($this);
     $request->searchByLocation($latitude, $longitude);
     $response = $request->execute();
     return $response;
 }