Skip to content

Get-TwitterListMember

SYNOPSIS

Returns the members of the specified list.

SYNTAX

ListId (Default)

Get-TwitterListMember -ListId <String> [-ResultsPerPage <Int32>] [-SkipStatus] [-ExcludeEntities] [<CommonParameters>]

ShowSlugOwnerId

Get-TwitterListMember -Slug <String> -OwnerId <Int64> [-ResultsPerPage <Int32>] [-SkipStatus] [-ExcludeEntities] [<CommonParameters>]

ShowSlugOwnerScreenName

Get-TwitterListMember -Slug <String> -OwnerScreenName <String> [-ResultsPerPage <Int32>] [-SkipStatus] [-ExcludeEntities] [<CommonParameters>]

DESCRIPTION

Returns the members of the specified list.

Private list members will only be shown if the authenticated user owns the specified list.

EXAMPLES

Example 1

PS > Get-TwitterListMember -ListId 749356646665629696 -ExcludeEntities -SkipStatus

Returns the members of the specified list, but exclude the statuses and entities node.

Example 2

PS > Get-TwitterListMember -Slug powershell-team -OwnerScreenName powershell_team

Returns the members of the specified list.

PARAMETERS

-ListId

The numerical id of the list.

Type: String
Parameter Sets: ListId
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Slug

Returns the specified list based on the slug which is derived from the name of the list.

Note: Provide the list owner when returning a list based on the slug.

Type: String
Parameter Sets: ShowSlugOwnerId, ShowSlugOwnerScreenName
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-OwnerId

The user id that owns the list specified by the Slug parameter.

Type: Int64
Parameter Sets: ShowSlugOwnerId
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-OwnerScreenName

The screen name of the user that owns the list specified by the Slug parameter.

Type: String
Parameter Sets: ShowSlugOwnerScreenName
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ExcludeEntities

Exclude the entities node.

This node offers a variety of metadata about the tweet in a discreet structure, including: user_mentions, urls, and hashtags.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ResultsPerPage

Specifies the number of results to retrieve per page.

Type: Int32
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-SkipStatus

Exclude the user statuses from the returned user objects.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

None

OUTPUTS

System.Object

NOTES

Online Version

Get-TwitterListByOwner

Get-TwitterList

Get-TwitterListSubscriber

Get-TwitterListSubscription

Get-TwitterListTweets

Api Reference - GET lists/members