Instagram\API\Request\FollowingFriendshipRequest::__construct PHP Method

__construct() public method

public __construct ( $instagram, $userId, $maxId = null )
$instagram Instagram
$userId string User Id
$maxId string The Maximum Id for fetching more Followers
    public function __construct($instagram, $userId, $maxId = null)
    {
        parent::__construct($instagram);
        $this->userId = $userId;
        $this->addParam("module", "overview");
        $this->addParam("support_new_api", "true");
        $this->addParam("rank_token", $instagram->getRankToken());
        if ($maxId != null) {
            $this->addParam("max_id", $maxId);
        }
    }