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