/**
*
* Fetch Timeline Feed
*
* @param string $maxId Next Maximum Id, used for Pagination
* @return API\Response\TimelineFeedResponse
* @throws Exception
*/
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;
}