trait TwitterSiteClient extends AnyRef
- Alphabetic
- By Inheritance
- TwitterSiteClient
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
val
streamingClient: StreamingClient
- Attributes
- protected
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
siteEvents(follow: Seq[Long] = Seq.empty, with: WithFilter = WithFilter.User, replies: Option[Boolean] = None, stringify_friend_ids: Boolean = false, languages: Seq[Language] = Seq.empty, stall_warnings: Boolean = false)(f: PartialFunction[SiteStreamingMessage, Unit]): Future[TwitterStream]
Starts a streaming connection from Twitter's site API.
Starts a streaming connection from Twitter's site API. Streams messages for a set of users, as described in Site streams. The function returns a future of a
TwitterStreamthat can be used to close or replace the stream when needed. If there are failures in establishing the initial connection, the Future returned will be completed with a failure. Since it's an asynchronous event stream, all the events will be parsed as entities of typeSiteStreamingMessageand processed accordingly to the partial functionf. All the messages that do not matchfare automatically ignored. For more information see https://developer.twitter.com/en/docs/accounts-and-users/subscribe-account-activity/api-reference/site-stream.- follow
: Empty by default. List of user IDs, indicating the users whose Tweets should be delivered on the stream. For more information https://developer.twitter.com/en/docs/accounts-and-users/subscribe-account-activity/api-reference/site-stream
- with
:
Userby default. Specifies whether to return information for just the users specified in the follow parameter, or include messages from accounts they follow. For more information see https://developer.twitter.com/en/docs/accounts-and-users/subscribe-account-activity/api-reference/site-stream- replies
: Optional. By default @replies are only sent if the current user follows both the sender and receiver of the reply. To receive all the replies, set the argument to
true. For more information see https://developer.twitter.com/en/docs/accounts-and-users/subscribe-account-activity/api-reference/site-stream- stringify_friend_ids
: Optional. Specifies whether to send the Friend List preamble as an array of integers or an array of strings. For more information see https://developer.twitter.com/en/docs/accounts-and-users/subscribe-account-activity/api-reference/site-stream
- languages
: Empty by default. List of 'BCP 47' language identifiers. For more information https://developer.twitter.com/en/docs/tweets/filter-realtime/guides/basic-stream-parameters
- stall_warnings
: Default to false. Specifies whether stall warnings (
WarningMessage) should be delivered as part of the updates.- f
: Function that defines how to process the received messages.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )