Skip to content

Get-TwitterListSubscription

SYNOPSIS

Returns a collection of lists to which the specified user is subscribed.

SYNTAX

Get-TwitterListSubscription [-User <User>] [-IncludeExpansions] [-MaxResultsPerPage <Int32>] [-NoPagination]
 [<CommonParameters>]

DESCRIPTION

Returns a collection of lists to which the specified user is subscribed.

Does not include the user's own lists.

EXAMPLES

Example 1

PS > Get-TwitterListSubscription

Returns a collection of lists to which the authenticating user is subscribed.

Example 2

PS > Get-TwitterUser -User BluebirdPS | Get-TwitterListSubscription
Id              : 749356646665629696
CreatedAt       : 7/2/2016 4:38:41 PM
Slug            : powershell-team
Name            : PowerShell Team
FullName        : @PowerShell_Team/powershell-team
Description     : Members of the PowerShell Team at Microsoft
Uri             : https://twitter.com/PowerShell_Team/lists/powershell-team
Mode            : Public
MemberCount     : 23
SubscriberCount : 287
UserId          : 702907554368630784
UserName        : PowerShell_Team
Following       : True

Returns a collection of lists to which the specified user is subscribed.

PARAMETERS

-User

A Twitter user object, returned by Get-TwitterUser.

Type: BluebirdPS.APIV2.UserInfo.User
Parameter Sets: (All)
Aliases:

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

-IncludeExpansions

Include the subscribed list owners.

Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases:

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

-MaxResultsPerPage

The maximum number of results to be return by each page of the request.

Note: By default, this command will request all available pages of data with each page request counting against the rate limit threshold.

You can force the command only return a single page with the NoPagination switch.

Type: System.Int32
Parameter Sets: (All)
Aliases:

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

-NoPagination

Only return the first page of data for the request.

Note: By default, this command will request all available pages of data with each page request counting against the rate limit threshold.

Type: System.Management.Automation.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

System.String

OUTPUTS

BluebirdPS.APIV1.List[]

NOTES

Online Version

Add-TwitterListSubscription

Remove-TwitterListSubscription

Test-TwitterListSubscription

Get-TwitterList

Api Reference - GET /2/users/:id/followed_lists