public function getLocationFeed($locationId, $maxId = null)
{
if (!$this->isLoggedIn()) {
throw new InstagramException("You must be logged in to call getLocationFeed().");
}
if ($locationId instanceof Location) {
$locationId = $locationId->getPk();
}
$request = new LocationFeedRequest($this, $locationId, $maxId);
$response = $request->execute();
if (!$response->isOk()) {
throw new InstagramException(sprintf("Failed to getLocationFeed: [%s] %s", $response->getStatus(), $response->getMessage()));
}
return $response;
}