 (ns orbitingnews.twitter
   (:require [orbitingnews.config :as config])
-  (:import [twitter4j TwitterFactory TwitterStreamFactory StatusListener Query QueryResult FilterQuery]
+  (:import [twitter4j TwitterFactory TwitterStreamFactory StatusListener UserStreamListener Query QueryResult FilterQuery]
            [twitter4j.auth AccessToken])
   (:gen-class))
 

    (onScrubGeo [userId upToStatusId] ())
    (onTrackLimitationNotice [numberOfLimitedStatuses] ())))

(defn do-sample-stream []
  (let [stream (oauth-stream-authorized-twitter)]
    (.addListener stream (status-listener))

    (.addListener stream (status-listener))
    (.filter stream filter-query)))

(defn user-stream []
  (let [stream (oauth-stream-authorized-twitter)]
    (.addListener stream (user-listener))
    (.user stream)))

(defn search
  "Returns tweets from search"
