public function searchByQuery($query){
        if($query != null){
            $this->addParam("query", $query);
            $this->addParam("rank_token", $this->instagram->getUserRankToken());
        }
    }