public function searchByQuery($query){
        if($query != null){
            $this->addParam("query", $query);
            $this->addParam("rank_token", $this->instagram->getUserRankToken());
        }
    }
public function searchByQuery($query){
        if($query != null){
            $this->addParam("query", $query);
            $this->addParam("rank_token", $this->instagram->getUserRankToken());
        }
    }
public function searchByQuery ( $ query ) { if ( $ query != null ) { $ this -> addParam ( "query" , $ query ) ; $ this -> addParam ( "rank_token" , $ this -> instagram -> getUserRankToken ( ) ) ; } }
Search Places by Query
@param $query string Search Query
Search Places by Query