trait TwitterListClient extends AnyRef
Implements the available requests for the lists
resource.
- Source
- TwitterListClient.scala
- Alphabetic
- By Inheritance
- TwitterListClient
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
val
restClient: RestClient
- 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
-
def
addListMemberByListId(list_id: Long, screen_name: String): Future[Unit]
Add a member to a list.
Add a member to a list. The authenticated user must own the list to be able to add members to it. Note that lists cannot have more than 5,000 members. For more information see https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/post-lists-members-create.
- list_id
: The numerical id of the list.
- screen_name
: The screen name of the user for whom to return results for. Helpful for disambiguating when a valid screen name is also a user ID.
-
def
addListMemberBySlugAndOwnerId(slug: String, owner_id: Long, screen_name: String): Future[Unit]
Add a member to a list.
Add a member to a list. The authenticated user must own the list to be able to add members to it. Note that lists cannot have more than 5,000 members. For more information see https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/post-lists-members-create.
- slug
: You can identify a list by its slug instead of its numerical id.
- owner_id
: The user ID of the user who owns the list being requested by a
slug
.- screen_name
: The screen name of the user for whom to return results for. Helpful for disambiguating when a valid screen name is also a user ID.
-
def
addListMemberBySlugAndOwnerName(slug: String, owner_screen_name: String, screen_name: String): Future[Unit]
Add a member to a list.
Add a member to a list. The authenticated user must own the list to be able to add members to it. Note that lists cannot have more than 5,000 members. For more information see https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/post-lists-members-create.
- slug
: You can identify a list by its slug instead of its numerical id.
- owner_screen_name
: The screen name of the user who owns the list being requested by a
slug
.- screen_name
: The screen name of the user for whom to return results for. Helpful for disambiguating when a valid screen name is also a user ID.
-
def
addListMemberIdByListId(list_id: Long, user_id: Long): Future[Unit]
Add a member to a list.
Add a member to a list. The authenticated user must own the list to be able to add members to it. Note that lists cannot have more than 5,000 members. For more information see https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/post-lists-members-create.
- list_id
: The numerical id of the list.
- user_id
: The ID of the user for whom to return results for. Helpful for disambiguating when a valid user ID is also a valid screen name.
-
def
addListMemberIdBySlugAndOwnerId(slug: String, owner_id: Long, user_id: Long): Future[Unit]
Add a member to a list.
Add a member to a list. The authenticated user must own the list to be able to add members to it. Note that lists cannot have more than 5,000 members. For more information see https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/post-lists-members-create.
- slug
: You can identify a list by its slug instead of its numerical id.
- owner_id
: The user ID of the user who owns the list being requested by a
slug
.- user_id
: The ID of the user for whom to return results for. Helpful for disambiguating when a valid user ID is also a valid screen name.
-
def
addListMemberIdBySlugAndOwnerName(slug: String, owner_screen_name: String, user_id: Long): Future[Unit]
Add a member to a list.
Add a member to a list. The authenticated user must own the list to be able to add members to it. Note that lists cannot have more than 5,000 members. For more information see https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/post-lists-members-create.
- slug
: You can identify a list by its slug instead of its numerical id.
- owner_screen_name
: The screen name of the user who owns the list being requested by a
slug
.- user_id
: The ID of the user for whom to return results for. Helpful for disambiguating when a valid user ID is also a valid screen name.
-
def
addListMemberIdsByListId(list_id: Long, user_ids: Seq[Long]): Future[Unit]
Adds multiple members to a list.
Adds multiple members to a list. The authenticated user must own the list to be able to add members to it. Note that lists can’t have more than 5,000 members, and you are limited to adding up to 100 members to a list at a time with this method. Please note that there can be issues with lists that rapidly remove and add memberships. Take care when using these methods such that you are not too rapidly switching between removals and adds on the same list. For more information see https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/post-lists-members-create_all.
- list_id
: The numerical id of the list.
- user_ids
: The list of user IDs to add, up to 100 are allowed in a single request.
-
def
addListMemberIdsBySlugAndOwnerId(slug: String, owner_id: Long, user_ids: Seq[Long]): Future[Unit]
Adds multiple members to a list.
Adds multiple members to a list. The authenticated user must own the list to be able to add members to it. Note that lists can’t have more than 5,000 members, and you are limited to adding up to 100 members to a list at a time with this method. Please note that there can be issues with lists that rapidly remove and add memberships. Take care when using these methods such that you are not too rapidly switching between removals and adds on the same list. For more information see https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/post-lists-members-create_all.
- slug
: You can identify a list by its slug instead of its numerical id.
- owner_id
: The user ID of the user who owns the list being requested by a
slug
.- user_ids
: The list of user IDs to add, up to 100 are allowed in a single request.
-
def
addListMemberIdsBySlugAndOwnerName(slug: String, owner_screen_name: String, user_ids: Seq[Long]): Future[Unit]
Adds multiple members to a list.
Adds multiple members to a list. The authenticated user must own the list to be able to add members to it. Note that lists can’t have more than 5,000 members, and you are limited to adding up to 100 members to a list at a time with this method. Please note that there can be issues with lists that rapidly remove and add memberships. Take care when using these methods such that you are not too rapidly switching between removals and adds on the same list. For more information see https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/post-lists-members-create_all.
- slug
: You can identify a list by its slug instead of its numerical id.
- owner_screen_name
: The screen name of the user who owns the list being requested by a
slug
.- user_ids
: The list of user IDs to add, up to 100 are allowed in a single request.
-
def
addListMembersByListId(list_id: Long, screen_names: Seq[String]): Future[Unit]
Adds multiple members to a list.
Adds multiple members to a list. The authenticated user must own the list to be able to add members to it. Note that lists can’t have more than 5,000 members, and you are limited to adding up to 100 members to a list at a time with this method. Please note that there can be issues with lists that rapidly remove and add memberships. Take care when using these methods such that you are not too rapidly switching between removals and adds on the same list. For more information see https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/post-lists-members-create_all.
- list_id
: The numerical id of the list.
- screen_names
: The list of user screen names to add, up to 100 are allowed in a single request.
-
def
addListMembersBySlugAndOwnerId(slug: String, owner_id: Long, screen_names: Seq[String]): Future[Unit]
Adds multiple members to a list.
Adds multiple members to a list. The authenticated user must own the list to be able to add members to it. Note that lists can’t have more than 5,000 members, and you are limited to adding up to 100 members to a list at a time with this method. Please note that there can be issues with lists that rapidly remove and add memberships. Take care when using these methods such that you are not too rapidly switching between removals and adds on the same list. For more information see https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/post-lists-members-create_all.
- slug
: You can identify a list by its slug instead of its numerical id.
- owner_id
: The user ID of the user who owns the list being requested by a
slug
.- screen_names
: The list of user screen names to add, up to 100 are allowed in a single request.
-
def
addListMembersBySlugAndOwnerName(slug: String, owner_screen_name: String, screen_names: Seq[String]): Future[Unit]
Adds multiple members to a list.
Adds multiple members to a list. The authenticated user must own the list to be able to add members to it. Note that lists can’t have more than 5,000 members, and you are limited to adding up to 100 members to a list at a time with this method. Please note that there can be issues with lists that rapidly remove and add memberships. Take care when using these methods such that you are not too rapidly switching between removals and adds on the same list. For more information see https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/post-lists-members-create_all.
- slug
: You can identify a list by its slug instead of its numerical id.
- owner_screen_name
: The screen name of the user who owns the list being requested by a
slug
.- screen_names
: The list of user screen names to add, up to 100 are allowed in a single request.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
checkListMemberByUserAndListId(list_id: Long, screen_name: String, include_entities: Boolean = true, skip_status: Boolean = false): Future[RatedData[User]]
Check if the specified user is a member of the specified list.
Check if the specified user is a member of the specified list. If the user is a member of the specified list, his user representation is returned. For more information see https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/get-lists-members-show.
- list_id
: The numerical id of the list.
- screen_name
: The screen name of the user for whom to return results for. Helpful for disambiguating when a valid screen name is also a user ID.
- include_entities
: By default it is
true
. his node offers a variety of metadata about the tweet in a discreet structure, including: user_mentions, urls, and hashtags. You can omit parameters from the result by settinginclude_entities
tofalse
.- skip_status
: By default it is
false
. When set to eithertrue
, statuses will not be included in the returned user objects.- returns
: The user representation if the specified user is a member of the specified list, it throws an
TwitterException
instead.
-
def
checkListMemberByUserIdAndListId(list_id: Long, user_id: Long, include_entities: Boolean = true, skip_status: Boolean = false): Future[RatedData[User]]
Check if the specified user is a member of the specified list.
Check if the specified user is a member of the specified list. If the user is a member of the specified list, his user representation is returned. For more information see https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/get-lists-members-show.
- list_id
: The numerical id of the list.
- user_id
: The ID of the user for whom to return results for. Helpful for disambiguating when a valid user ID is also a valid screen name.
- include_entities
: By default it is
true
. his node offers a variety of metadata about the tweet in a discreet structure, including: user_mentions, urls, and hashtags. You can omit parameters from the result by settinginclude_entities
tofalse
.- skip_status
: By default it is
false
. When set to eithertrue
, statuses will not be included in the returned user objects.- returns
: The user representation if the specified user is a member of the specified list, it throws an
TwitterException
instead.
-
def
checkListMemberByUserIdSlugAndOwnerId(slug: String, owner_id: Long, user_id: Long, include_entities: Boolean = true, skip_status: Boolean = false): Future[RatedData[User]]
Check if the specified user is a member of the specified list.
Check if the specified user is a member of the specified list. If the user is a member of the specified list, his user representation is returned. For more information see https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/get-lists-members-show.
- slug
: You can identify a list by its slug instead of its numerical id.
- owner_id
: The user ID of the user who owns the list being requested by a
slug
.- user_id
: The ID of the user for whom to return results for. Helpful for disambiguating when a valid user ID is also a valid screen name.
- include_entities
: By default it is
true
. his node offers a variety of metadata about the tweet in a discreet structure, including: user_mentions, urls, and hashtags. You can omit parameters from the result by settinginclude_entities
tofalse
.- skip_status
: By default it is
false
. When set to eithertrue
, statuses will not be included in the returned user objects.- returns
: The user representation if the specified user is a member of the specified list, it throws an
TwitterException
instead.
-
def
checkListMemberByUserIdSlugAndOwnerName(slug: String, owner_screen_name: String, user_id: Long, include_entities: Boolean = true, skip_status: Boolean = false): Future[RatedData[User]]
Check if the specified user is a member of the specified list.
Check if the specified user is a member of the specified list. If the user is a member of the specified list, his user representation is returned. For more information see https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/get-lists-members-show.
- slug
: You can identify a list by its slug instead of its numerical id.
- owner_screen_name
: The screen name of the user who owns the list being requested by a
slug
.- user_id
: The ID of the user for whom to return results for. Helpful for disambiguating when a valid user ID is also a valid screen name.
- include_entities
: By default it is
true
. his node offers a variety of metadata about the tweet in a discreet structure, including: user_mentions, urls, and hashtags. You can omit parameters from the result by settinginclude_entities
tofalse
.- skip_status
: By default it is
false
. When set to eithertrue
, statuses will not be included in the returned user objects.- returns
: The user representation if the specified user is a member of the specified list, it throws an
TwitterException
instead.
-
def
checkListMemberByUserSlugAndOwnerId(slug: String, owner_id: Long, screen_name: String, include_entities: Boolean = true, skip_status: Boolean = false): Future[RatedData[User]]
Check if the specified user is a member of the specified list.
Check if the specified user is a member of the specified list. If the user is a member of the specified list, his user representation is returned. For more information see https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/get-lists-members-show.
- slug
: You can identify a list by its slug instead of its numerical id.
- owner_id
: The user ID of the user who owns the list being requested by a
slug
.- screen_name
: The screen name of the user for whom to return results for. Helpful for disambiguating when a valid screen name is also a user ID.
- include_entities
: By default it is
true
. his node offers a variety of metadata about the tweet in a discreet structure, including: user_mentions, urls, and hashtags. You can omit parameters from the result by settinginclude_entities
tofalse
.- skip_status
: By default it is
false
. When set to eithertrue
, statuses will not be included in the returned user objects.- returns
: The user representation if the specified user is a member of the specified list, it throws an
TwitterException
instead.
-
def
checkListMemberByUserSlugAndOwnerName(slug: String, owner_screen_name: String, screen_name: String, include_entities: Boolean = true, skip_status: Boolean = false): Future[RatedData[User]]
Check if the specified user is a member of the specified list.
Check if the specified user is a member of the specified list. If the user is a member of the specified list, his user representation is returned. For more information see https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/get-lists-members-show.
- slug
: You can identify a list by its slug instead of its numerical id.
- owner_screen_name
: The screen name of the user who owns the list being requested by a
slug
.- screen_name
: The screen name of the user for whom to return results for. Helpful for disambiguating when a valid screen name is also a user ID.
- include_entities
: By default it is
true
. his node offers a variety of metadata about the tweet in a discreet structure, including: user_mentions, urls, and hashtags. You can omit parameters from the result by settinginclude_entities
tofalse
.- skip_status
: By default it is
false
. When set to eithertrue
, statuses will not be included in the returned user objects.- returns
: The user representation if the specified user is a member of the specified list, it throws an
TwitterException
instead.
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
createList(name: String, mode: Mode = Mode.Public, description: Option[String] = None): Future[TwitterList]
Creates a new list for the authenticated user.
Creates a new list for the authenticated user. Note that you can create up to 1000 lists per account. For more information see https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/post-lists-create.
- name
: The name for the list. A list’s name must start with a letter and can consist only of 25 or fewer letters, numbers, “-“, or “_” characters.
- mode
: By default it is
Public
. Whether your list is public or private.- description
: Optional, by default it is
None
. The description to give the list.- returns
: The new created Twitter list.
-
def
deleteListById(list_id: Long): Future[TwitterList]
Deletes the specified list.
Deletes the specified list. The authenticated user must own the list to be able to destroy it. For more information see https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/post-lists-destroy.
- list_id
: The numerical id of the list.
- returns
: The representation of the deleted twitter list
-
def
deleteListBySlugAndOwnerId(slug: String, owner_id: Long): Future[TwitterList]
Deletes the specified list.
Deletes the specified list. The authenticated user must own the list to be able to destroy it. For more information see https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/post-lists-destroy.
- slug
: You can identify a list by its slug instead of its numerical id.
- owner_id
: The user ID of the user who owns the list being requested by a
slug
.- returns
: The representation of the deleted twitter list
-
def
deleteListBySlugAndOwnerName(slug: String, owner_screen_name: String): Future[TwitterList]
Deletes the specified list.
Deletes the specified list. The authenticated user must own the list to be able to destroy it. For more information see https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/post-lists-destroy.
- slug
: You can identify a list by its slug instead of its numerical id.
- owner_screen_name
: The screen name of the user who owns the list being requested by a
slug
.- returns
: The representation of the deleted twitter list
-
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
-
def
listById(list_id: Long): Future[RatedData[TwitterList]]
Returns the specified list.
Returns the specified list. Private lists will only be shown if the authenticated user owns the specified list. For more information see https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/get-lists-show.
- list_id
: The numerical id of the list.
- returns
: The Twitter list.
-
def
listBySlugAndOwnerId(slug: String, owner_id: Long): Future[RatedData[TwitterList]]
Returns the specified list.
Returns the specified list. Private lists will only be shown if the authenticated user owns the specified list. For more information see https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/get-lists-show.
- slug
: You can identify a list by its slug instead of its numerical id.
- owner_id
: The user ID of the user who owns the list being requested by a
slug
.- returns
: The Twitter list.
-
def
listBySlugAndOwnerName(slug: String, owner_screen_name: String): Future[RatedData[TwitterList]]
Returns the specified list.
Returns the specified list. Private lists will only be shown if the authenticated user owns the specified list. For more information see https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/get-lists-show.
- slug
: You can identify a list by its slug instead of its numerical id.
- owner_screen_name
: The screen name of the user who owns the list being requested by a
slug
.- returns
: The Twitter list.
-
def
listMembersByListId(list_id: Long, count: Int = 20, cursor: Long = -1, include_entities: Boolean = true, skip_status: Boolean = false): Future[RatedData[Users]]
Returns the members of the specified list.
Returns the members of the specified list. Private list members will only be shown if the authenticated user owns the specified list. For more information see https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/get-lists-members.
- list_id
: The numerical id of the list.
- count
: By default it is
20
. The amount of results to return per page. Defaults to 20. No more than 1000 results will ever be returned in a single page.- cursor
: By default it is
-1
, which is the first “page”. Breaks the results into pages. Provide values as returned in the response body’snext_cursor
andprevious_cursor
attributes to page back and forth in the list.- include_entities
: By default it is
true
. his node offers a variety of metadata about the tweet in a discreet structure, including: user_mentions, urls, and hashtags. You can omit parameters from the result by settinginclude_entities
tofalse
.- skip_status
: By default it is
false
. When set to eithertrue
, statuses will not be included in the returned user objects.- returns
: The users representation of the members of the list.
-
def
listMembersBySlugAndOwnerId(slug: String, owner_id: Long, count: Int = 20, cursor: Long = -1, include_entities: Boolean = true, skip_status: Boolean = false): Future[RatedData[Users]]
Returns the members of the specified list.
Returns the members of the specified list. Private list members will only be shown if the authenticated user owns the specified list. For more information see https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/get-lists-members.
- slug
: You can identify a list by its slug instead of its numerical id.
- owner_id
: The user ID of the user who owns the list being requested by a
slug
.- count
: By default it is
20
. The amount of results to return per page. Defaults to 20. No more than 1000 results will ever be returned in a single page.- cursor
: By default it is
-1
, which is the first “page”. Breaks the results into pages. Provide values as returned in the response body’snext_cursor
andprevious_cursor
attributes to page back and forth in the list.- include_entities
: By default it is
true
. his node offers a variety of metadata about the tweet in a discreet structure, including: user_mentions, urls, and hashtags. You can omit parameters from the result by settinginclude_entities
tofalse
.- skip_status
: By default it is
false
. When set to eithertrue
, statuses will not be included in the returned user objects.- returns
: The users representation of the members of the list.
-
def
listMembersBySlugAndOwnerName(slug: String, owner_screen_name: String, count: Int = 20, cursor: Long = -1, include_entities: Boolean = true, skip_status: Boolean = false): Future[RatedData[Users]]
Returns the members of the specified list.
Returns the members of the specified list. Private list members will only be shown if the authenticated user owns the specified list. For more information see https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/get-lists-members.
- slug
: You can identify a list by its slug instead of its numerical id.
- owner_screen_name
: The screen name of the user who owns the list being requested by a
slug
.- count
: By default it is
20
. The amount of results to return per page. Defaults to 20. No more than 1000 results will ever be returned in a single page.- cursor
: By default it is
-1
, which is the first “page”. Breaks the results into pages. Provide values as returned in the response body’snext_cursor
andprevious_cursor
attributes to page back and forth in the list.- include_entities
: By default it is
true
. his node offers a variety of metadata about the tweet in a discreet structure, including: user_mentions, urls, and hashtags. You can omit parameters from the result by settinginclude_entities
tofalse
.- skip_status
: By default it is
false
. When set to eithertrue
, statuses will not be included in the returned user objects.- returns
: The users representation of the members of the list.
-
def
listMembershipsForUser(screen_name: String, count: Int = 20, cursor: Long = -1, filter_to_owned_lists: Boolean = false): Future[RatedData[TwitterLists]]
Returns the twitter lists the specified user has been added to.
Returns the twitter lists the specified user has been added to. For more information see https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/get-lists-memberships.
- screen_name
: The screen name of the user for whom to return results for. Helpful for disambiguating when a valid screen name is also a user ID.
- count
: By default it is
20
. The amount of results to return per page. Defaults to 20. No more than 1000 results will ever be returned in a single page.- cursor
: By default it is
-1
, which is the first “page”. Breaks the results into pages. Provide values as returned in the response body’snext_cursor
andprevious_cursor
attributes to page back and forth in the list.- filter_to_owned_lists
: By default it is
false
. When set totrue
, will return just lists the authenticating user owns, and the user represented by user_id or screen_name is a member of.- returns
: The twitter lists the specified user has been added to.
-
def
listMembershipsForUserId(user_id: Long, count: Int = 20, cursor: Long = -1, filter_to_owned_lists: Boolean = false): Future[RatedData[TwitterLists]]
Returns the twitter lists the specified user has been added to.
Returns the twitter lists the specified user has been added to. For more information see https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/get-lists-memberships.
- user_id
: The ID of the user for whom to return results for. Helpful for disambiguating when a valid user ID is also a valid screen name.
- count
: By default it is
20
. The amount of results to return per page. Defaults to 20. No more than 1000 results will ever be returned in a single page.- cursor
: By default it is
-1
, which is the first “page”. Breaks the results into pages. Provide values as returned in the response body’snext_cursor
andprevious_cursor
attributes to page back and forth in the list.- filter_to_owned_lists
: By default it is
false
. When set totrue
, will return just lists the authenticating user owns, and the user represented by user_id or screen_name is a member of.- returns
: The twitter lists the specified user has been added to.
-
def
listOwnerships(screen_name: String, count: Int = 20, cursor: Long = -1): Future[RatedData[TwitterLists]]
Returns the lists owned by the specified Twitter user.
Returns the lists owned by the specified Twitter user. Private lists will only be shown if the authenticated user is also the owner of the lists. For more information see https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/get-lists-ownerships.
- screen_name
: The screen name of the user for whom to return results for. Helpful for disambiguating when a valid screen name is also a user ID.
- count
: By default it is
20
. The amount of results to return per page. Defaults to 20. No more than 1000 results will ever be returned in a single page.- cursor
: By default it is
-1
, which is the first “page”. Breaks the results into pages. Provide values as returned in the response body’snext_cursor
andprevious_cursor
attributes to page back and forth in the list.- returns
: The Twitter lists owned by the specified user.
-
def
listOwnershipsForUserId(user_id: Long, count: Int = 20, cursor: Long = -1): Future[RatedData[TwitterLists]]
Returns the lists owned by the specified Twitter user.
Returns the lists owned by the specified Twitter user. Private lists will only be shown if the authenticated user is also the owner of the lists. For more information see https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/get-lists-ownerships.
- user_id
: The ID of the user for whom to return results for.
- count
: By default it is
20
. The amount of results to return per page. Defaults to 20. No more than 1000 results will ever be returned in a single page.- cursor
: By default it is
-1
, which is the first “page”. Breaks the results into pages. Provide values as returned in the response body’snext_cursor
andprevious_cursor
attributes to page back and forth in the list.- returns
: The Twitter lists owned by the specified user.
-
def
listSubscriptions(screen_name: String, count: Int = 20, cursor: Long = -1): Future[RatedData[TwitterLists]]
Obtain a collection of the lists the specified user is subscribed to, 20 lists per page by default.
Obtain a collection of the lists the specified user is subscribed to, 20 lists per page by default. Does not include the user’s own lists. For more information see https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/get-lists-subscriptions.
- screen_name
: The screen name of the user for whom to return results for. Helpful for disambiguating when a valid screen name is also a user ID.
- count
: By default it is
20
. The amount of results to return per page. Defaults to 20. No more than 1000 results will ever be returned in a single page.- cursor
: By default it is
-1
, which is the first “page”. Breaks the results into pages. Provide values as returned in the response body’snext_cursor
andprevious_cursor
attributes to page back and forth in the list.- returns
: The Twitter lists the specified user is subscribed to.
-
def
listSubscriptionsByUserId(user_id: Long, count: Int = 20, cursor: Long = -1): Future[RatedData[TwitterLists]]
Obtain a collection of the lists the specified user is subscribed to, 20 lists per page by default.
Obtain a collection of the lists the specified user is subscribed to, 20 lists per page by default. Does not include the user’s own lists. For more information see https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/get-lists-subscriptions.
- user_id
: The ID of the user for whom to return results for. Helpful for disambiguating when a valid user ID is also a valid screen name.
- count
: By default it is
20
. The amount of results to return per page. Defaults to 20. No more than 1000 results will ever be returned in a single page.- cursor
: By default it is
-1
, which is the first “page”. Breaks the results into pages. Provide values as returned in the response body’snext_cursor
andprevious_cursor
attributes to page back and forth in the list.- returns
: The Twitter lists the specified user is subscribed to.
-
def
listTimelineByListId(list_id: Long, count: Int = 20, since_id: Option[Long] = None, max_id: Option[Long] = None, include_entities: Boolean = true, include_rts: Boolean = false, tweet_mode: TweetMode = TweetMode.Classic): Future[RatedData[Seq[Tweet]]]
Returns a timeline of tweets authored by members of the specified list.
Returns a timeline of tweets authored by members of the specified list. For more information see https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/get-lists-statuses.
- list_id
: The numerical id of the list.
- count
: By default it is
20
. Specifies the number of results to retrieve per "page".- since_id
: Optional, by default it is
None
. Returns results with an ID greater than (that is, more recent than) the specified ID. There are limits to the number of Tweets which can be accessed through the API. If the limit of Tweets has occured since thesince_id
, thesince_id
will be forced to the oldest ID available.- max_id
: Optional, by default it is
None
. Returns results with an ID less than (that is, older than) or equal to the specified ID.- include_entities
: By default it is
true
. his node offers a variety of metadata about the tweet in a discreet structure, including: user_mentions, urls, and hashtags. You can omit parameters from the result by settinginclude_entities
tofalse
.- include_rts
: By default it is
false
. When set totrue
, the list timeline will contain native retweets (if they exist) in addition to the standard stream of tweets.- tweet_mode
: Optional, by default it is
Classic
. When set toExtended
prevents tweet text truncating, see https://developer.twitter.com/en/docs/tweets/tweet-updates- returns
: The sequence of tweets for the specified list.
-
def
listTimelineBySlugAndOwnerId(slug: String, owner_id: Long, count: Int = 20, since_id: Option[Long] = None, max_id: Option[Long] = None, include_entities: Boolean = true, include_rts: Boolean = false, tweet_mode: TweetMode = TweetMode.Classic): Future[RatedData[Seq[Tweet]]]
Returns a timeline of tweets authored by members of the specified list.
Returns a timeline of tweets authored by members of the specified list. For more information see https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/get-lists-statuses.
- slug
: You can identify a list by its slug instead of its numerical id.
- owner_id
: The user ID of the user who owns the list being requested by a
slug
.- count
: By default it is
20
. Specifies the number of results to retrieve per "page".- since_id
: Optional, by default it is
None
. Returns results with an ID greater than (that is, more recent than) the specified ID. There are limits to the number of Tweets which can be accessed through the API. If the limit of Tweets has occured since thesince_id
, thesince_id
will be forced to the oldest ID available.- max_id
: Optional, by default it is
None
. Returns results with an ID less than (that is, older than) or equal to the specified ID.- include_entities
: By default it is
true
. his node offers a variety of metadata about the tweet in a discreet structure, including: user_mentions, urls, and hashtags. You can omit parameters from the result by settinginclude_entities
tofalse
.- include_rts
: By default it is
false
. When set totrue
, the list timeline will contain native retweets (if they exist) in addition to the standard stream of tweets.- tweet_mode
: Optional, by default it is
Classic
. When set toExtended
prevents tweet text truncating, see https://developer.twitter.com/en/docs/tweets/tweet-updates- returns
: The sequence of tweets for the specified list.
-
def
listTimelineBySlugAndOwnerName(slug: String, owner_screen_name: String, count: Int = 20, since_id: Option[Long] = None, max_id: Option[Long] = None, include_entities: Boolean = true, include_rts: Boolean = false, tweet_mode: TweetMode = TweetMode.Classic): Future[RatedData[Seq[Tweet]]]
Returns a timeline of tweets authored by members of the specified list.
Returns a timeline of tweets authored by members of the specified list. For more information see https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/get-lists-statuses.
- slug
: You can identify a list by its slug instead of its numerical id.
- owner_screen_name
: TThe screen name of the user who owns the list being requested by a
slug
.- count
: By default it is
20
. Specifies the number of results to retrieve per "page".- since_id
: Optional, by default it is
None
. Returns results with an ID greater than (that is, more recent than) the specified ID. There are limits to the number of Tweets which can be accessed through the API. If the limit of Tweets has occured since thesince_id
, thesince_id
will be forced to the oldest ID available.- max_id
: Optional, by default it is
None
. Returns results with an ID less than (that is, older than) or equal to the specified ID.- include_entities
: By default it is
true
. his node offers a variety of metadata about the tweet in a discreet structure, including: user_mentions, urls, and hashtags. You can omit parameters from the result by settinginclude_entities
tofalse
.- include_rts
: By default it is
false
. When set totrue
, the list timeline will contain native retweets (if they exist) in addition to the standard stream of tweets.- tweet_mode
: Optional, by default it is
Classic
. When set toExtended
prevents tweet text truncating, see https://developer.twitter.com/en/docs/tweets/tweet-updates- returns
: The sequence of tweets for the specified list.
-
def
listsForUser(screen_name: String, reverse: Boolean = false): Future[RatedData[Seq[TwitterList]]]
Returns all lists the specified user subscribes to, including their own.
Returns all lists the specified user subscribes to, including their own. For more information see https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/get-lists-list.
- screen_name
: The screen name of the user for whom to return results for. Helpful for disambiguating when a valid user ID is also a valid screen name.
- reverse
: By default it is
false
. Set this to true if you would like owned lists to be returned first.- returns
: The sequence of all lists the specified user subscribes to.
-
def
listsForUserId(user_id: Long, reverse: Boolean = false): Future[RatedData[Seq[TwitterList]]]
Returns all lists the specified user subscribes to, including their own.
Returns all lists the specified user subscribes to, including their own. For more information see https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/get-lists-list.
- user_id
: The ID of the user for whom to return results for. Helpful for disambiguating when a valid user ID is also a valid screen name.
- reverse
: By default it is
false
. Set this to true if you would like owned lists to be returned first.- returns
: The sequence of all lists the specified user subscribes to.
-
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
removeListMemberByListId(list_id: Long, member_screen_name: String): Future[Unit]
Removes the specified member from the list.
Removes the specified member from the list. The authenticated user must be the list’s owner to remove members from the list. For more information see https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/post-lists-members-destroy.
- list_id
: The numerical id of the list.
- member_screen_name
: The screen name of the user for whom to remove from the list. Helpful for disambiguating when a valid screen name is also a user ID.
-
def
removeListMemberBySlugAndOwnerId(slug: String, owner_id: Long, member_screen_name: String): Future[Unit]
Removes the specified member from the list.
Removes the specified member from the list. The authenticated user must be the list’s owner to remove members from the list. For more information see https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/post-lists-members-destroy.
- slug
: You can identify a list by its slug instead of its numerical id.
- owner_id
: The user ID of the user who owns the list being requested by a
slug
.- member_screen_name
: The screen name of the user for whom to remove from the list. Helpful for disambiguating when a valid screen name is also a user ID.
-
def
removeListMemberBySlugAndOwnerName(slug: String, owner_screen_name: String, member_screen_name: String): Future[Unit]
Removes the specified member from the list.
Removes the specified member from the list. The authenticated user must be the list’s owner to remove members from the list. For more information see https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/post-lists-members-destroy.
- slug
: You can identify a list by its slug instead of its numerical id.
- owner_screen_name
: The screen name of the user who owns the list being requested by a
slug
.- member_screen_name
: The screen name of the user for whom to remove from the list. Helpful for disambiguating when a valid screen name is also a user ID.
-
def
removeListMemberIdByListId(list_id: Long, member_id: Long): Future[Unit]
Removes the specified member from the list.
Removes the specified member from the list. The authenticated user must be the list’s owner to remove members from the list. For more information see https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/post-lists-members-destroy.
- list_id
: The numerical id of the list.
- member_id
: The ID of the user to remove from the list. Helpful for disambiguating when a valid user ID is also a valid screen name.
-
def
removeListMemberIdBySlugAndOwnerId(slug: String, owner_id: Long, member_id: Long): Future[Unit]
Removes the specified member from the list.
Removes the specified member from the list. The authenticated user must be the list’s owner to remove members from the list. For more information see https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/post-lists-members-destroy.
- slug
: You can identify a list by its slug instead of its numerical id.
- owner_id
: The user ID of the user who owns the list being requested by a
slug
.- member_id
: The ID of the user to remove from the list. Helpful for disambiguating when a valid user ID is also a valid screen name.
-
def
removeListMemberIdBySlugAndOwnerName(slug: String, owner_screen_name: String, member_id: Long): Future[Unit]
Removes the specified member from the list.
Removes the specified member from the list. The authenticated user must be the list’s owner to remove members from the list. For more information see https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/post-lists-members-destroy.
- slug
: You can identify a list by its slug instead of its numerical id.
- owner_screen_name
: The screen name of the user who owns the list being requested by a
slug
.- member_id
: The ID of the user to remove from the list. Helpful for disambiguating when a valid user ID is also a valid screen name.
-
def
removeListMembers(list_id: Long, members_screen_names: Seq[String]): Future[Unit]
Removes multiple members from a list.
Removes multiple members from a list. The authenticated user must own the list to be able to remove members from it. Note that lists can’t have more than 500 members, and you are limited to removing up to 100 members to a list at a time with this method. Please note that there can be issues with lists that rapidly remove and add memberships. Take care when using these methods such that you are not too rapidly switching between removals and adds on the same list. For more information see https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/post-lists-members-destroy_all.
- list_id
: The numerical id of the list.
- members_screen_names
: A sequence of screen names to remove from the list, up to 100 are allowed in a single request.
-
def
removeListMembersBySlugAndOwnerId(slug: String, owner_id: Long, members_screen_names: Seq[String]): Future[Unit]
Removes multiple members from a list.
Removes multiple members from a list. The authenticated user must own the list to be able to remove members from it. Note that lists can’t have more than 500 members, and you are limited to removing up to 100 members to a list at a time with this method. Please note that there can be issues with lists that rapidly remove and add memberships. Take care when using these methods such that you are not too rapidly switching between removals and adds on the same list. For more information see https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/post-lists-members-destroy_all.
- slug
: You can identify a list by its slug instead of its numerical id.
- owner_id
: The user ID of the user who owns the list being requested by a
slug
.- members_screen_names
: A sequence of screen names to remove from the list, up to 100 are allowed in a single request.
-
def
removeListMembersBySlugAndOwnerName(slug: String, owner_screen_name: String, members_screen_names: Seq[String]): Future[Unit]
Removes multiple members from a list.
Removes multiple members from a list. The authenticated user must own the list to be able to remove members from it. Note that lists can’t have more than 500 members, and you are limited to removing up to 100 members to a list at a time with this method. Please note that there can be issues with lists that rapidly remove and add memberships. Take care when using these methods such that you are not too rapidly switching between removals and adds on the same list. For more information see https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/post-lists-members-destroy_all.
- slug
: You can identify a list by its slug instead of its numerical id.
- owner_screen_name
: The screen name of the user who owns the list being requested by a
slug
.- members_screen_names
: A sequence of screen names to remove from the list, up to 100 are allowed in a single request.
-
def
removeListMembersIds(list_id: Long, members_ids: Seq[Long]): Future[Unit]
Removes multiple members from a list.
Removes multiple members from a list. The authenticated user must own the list to be able to remove members from it. Note that lists can’t have more than 500 members, and you are limited to removing up to 100 members to a list at a time with this method. Please note that there can be issues with lists that rapidly remove and add memberships. Take care when using these methods such that you are not too rapidly switching between removals and adds on the same list. For more information see https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/post-lists-members-destroy_all.
- list_id
: The numerical id of the list.
- members_ids
: A sequence of user ids to remove from the list, up to 100 are allowed in a single request.
-
def
removeListMembersIdsBySlugAndOwnerId(slug: String, owner_id: Long, members_ids: Seq[Long]): Future[Unit]
Removes multiple members from a list.
Removes multiple members from a list. The authenticated user must own the list to be able to remove members from it. Note that lists can’t have more than 500 members, and you are limited to removing up to 100 members to a list at a time with this method. Please note that there can be issues with lists that rapidly remove and add memberships. Take care when using these methods such that you are not too rapidly switching between removals and adds on the same list. For more information see https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/post-lists-members-destroy_all.
- slug
: You can identify a list by its slug instead of its numerical id.
- owner_id
: The user ID of the user who owns the list being requested by a
slug
.- members_ids
: A sequence of user ids to remove from the list, up to 100 are allowed in a single request.
-
def
removeListMembersIdsBySlugAndOwnerName(slug: String, owner_screen_name: String, members_ids: Seq[Long]): Future[Unit]
Removes multiple members from a list.
Removes multiple members from a list. The authenticated user must own the list to be able to remove members from it. Note that lists can’t have more than 500 members, and you are limited to removing up to 100 members to a list at a time with this method. Please note that there can be issues with lists that rapidly remove and add memberships. Take care when using these methods such that you are not too rapidly switching between removals and adds on the same list. For more information see https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/post-lists-members-destroy_all.
- slug
: You can identify a list by its slug instead of its numerical id.
- owner_screen_name
: The screen name of the user who owns the list being requested by a
slug
.- members_ids
: A sequence of user ids to remove from the list, up to 100 are allowed in a single request.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
updateList(list_id: Long, update: TwitterListUpdate): Future[Unit]
Updates the specified list.
Updates the specified list. The authenticated user must own the list to be able to update it. For more information see https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/post-lists-update.
- list_id
: The numerical id of the list.
- update
: The updates to perform on the list.
-
def
updateListBySlugAndOwnerId(slug: String, owner_id: Long, update: TwitterListUpdate): Future[Unit]
Updates the specified list.
Updates the specified list. The authenticated user must own the list to be able to update it. For more information see https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/post-lists-update.
- slug
: You can identify a list by its slug instead of its numerical id.
- owner_id
: The user ID of the user who owns the list being requested by a
slug
.- update
: The updates to perform on the list.
-
def
updateListBySlugAndOwnerName(slug: String, owner_screen_name: String, update: TwitterListUpdate): Future[Unit]
Updates the specified list.
Updates the specified list. The authenticated user must own the list to be able to update it. For more information see https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/post-lists-update.
- slug
: You can identify a list by its slug instead of its numerical id.
- owner_screen_name
: The screen name of the user who owns the list being requested by a
slug
.- update
: The updates to perform on the list.
-
def
updateListDescription(list_id: Long, description: String): Future[Unit]
Updates the specified list.
Updates the specified list. The authenticated user must own the list to be able to update it. For more information see https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/post-lists-update.
- list_id
: The numerical id of the list.
- description
: The description to give the list.
-
def
updateListDescriptionBySlugAndOwnerId(slug: String, owner_id: Long, description: String): Future[Unit]
Updates the specified list.
Updates the specified list. The authenticated user must own the list to be able to update it. For more information see https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/post-lists-update.
- slug
: You can identify a list by its slug instead of its numerical id.
- owner_id
: The user ID of the user who owns the list being requested by a
slug
.- description
: The description to give the list.
-
def
updateListDescriptionBySlugAndOwnerName(slug: String, owner_screen_name: String, description: String): Future[Unit]
Updates the specified list.
Updates the specified list. The authenticated user must own the list to be able to update it. For more information see https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/post-lists-update.
- slug
: You can identify a list by its slug instead of its numerical id.
- owner_screen_name
: The screen name of the user who owns the list being requested by a
slug
.- description
: The description to give the list.
-
def
updateListMode(list_id: Long, mode: Mode): Future[Unit]
Updates the specified list.
Updates the specified list. The authenticated user must own the list to be able to update it. For more information see https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/post-lists-update.
- list_id
: The numerical id of the list.
- mode
: Whether your list is public or private.
-
def
updateListModeBySlugAndOwnerId(slug: String, owner_id: Long, mode: Mode): Future[Unit]
Updates the specified list.
Updates the specified list. The authenticated user must own the list to be able to update it. For more information see https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/post-lists-update.
- slug
: You can identify a list by its slug instead of its numerical id.
- owner_id
: The user ID of the user who owns the list being requested by a
slug
.- mode
: Whether your list is public or private.
-
def
updateListModeBySlugAndOwnerName(slug: String, owner_screen_name: String, mode: Mode): Future[Unit]
Updates the specified list.
Updates the specified list. The authenticated user must own the list to be able to update it. For more information see https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/post-lists-update.
- slug
: You can identify a list by its slug instead of its numerical id.
- owner_screen_name
: The screen name of the user who owns the list being requested by a
slug
.- mode
: Whether your list is public or private.
-
def
updateListName(list_id: Long, name: String): Future[Unit]
Updates the specified list.
Updates the specified list. The authenticated user must own the list to be able to update it. For more information see https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/post-lists-update.
- list_id
: The numerical id of the list.
- name
: The name for the list.
-
def
updateListNameBySlugAndOwnerId(slug: String, owner_id: Long, name: String): Future[Unit]
Updates the specified list.
Updates the specified list. The authenticated user must own the list to be able to update it. For more information see https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/post-lists-update.
- slug
: You can identify a list by its slug instead of its numerical id.
- owner_id
: The user ID of the user who owns the list being requested by a
slug
.- name
: The name for the list.
-
def
updateListNameBySlugAndOwnerName(slug: String, owner_screen_name: String, name: String): Future[Unit]
Updates the specified list.
Updates the specified list. The authenticated user must own the list to be able to update it. For more information see https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/post-lists-update.
- slug
: You can identify a list by its slug instead of its numerical id.
- owner_screen_name
: The screen name of the user who owns the list being requested by a
slug
.- name
: The name for the list.
-
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( ... )