Instagram\Instagram::getLikedFeed PHP Method

getLikedFeed() public method

Fetch Liked Feed
public getLikedFeed ( string $maxId = null ) : LikedFeedResponse
$maxId string Next Maximum Id, used for Pagination
return Instagram\API\Response\LikedFeedResponse
    public function getLikedFeed($maxId = null)
    {
        if (!$this->isLoggedIn()) {
            throw new InstagramException("You must be logged in to call getLikedFeed().");
        }
        $request = new LikedFeedRequest($this, $maxId);
        $response = $request->execute();
        if (!$response->isOk()) {
            throw new InstagramException(sprintf("Failed to getLikedFeed: [%s] %s", $response->getStatus(), $response->getMessage()));
        }
        return $response;
    }