Instagram\API\Request\TimelineFeedRequest::__construct PHP Метод

__construct() публичный Метод

public __construct ( $instagram, $maxId = null )
$instagram Instagram
$maxId string The Maximum Id for fetching more Items in the Feed
    public function __construct($instagram, $maxId = null)
    {
        parent::__construct($instagram);
        $this->addParam("phone_id", $instagram->getPhoneId());
        $this->addParam("timezone_offset", Constants::TIMEZONE_OFFSET);
        $this->addHeader("X-Google-AD-ID", $instagram->getGoogleAdId());
        if (!empty($maxId)) {
            $this->addParam("max_id", $maxId);
        }
    }