Skip to content

Get-TwitterBlockedUser

SYNOPSIS

Returns a collection of user objects that the authenticating user is blocking.

SYNTAX

Get-TwitterBlockedUser [-IncludeExpansions] [-MaxResultsPerPage <Int32>] [-NoPagination] [<CommonParameters>]

DESCRIPTION

Returns a collection of user objects that the authenticating user is blocking.

EXAMPLES

Example 1

PS > Get-TwitterBlockedUser

Returns an array of user ids that the authenticating user is blocking.

Example 2

PS > Get-TwitterBlockedUser -IncludeExpansions

Returns a collection of user objects that the authenticating user is blocking without the last status for each.

PARAMETERS

-IncludeExpansions

Include the pinned Tweet for the returned user(s).

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

Required: False
Position: Named
Default value: False
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

OUTPUTS

BluebirdPS.APIV2.UserInfo.User[]

NOTES

Online Version

Set-TwitterBlockedUser

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