Skip to content

Get-TwitterFollowers

SYNOPSIS

Returns a collection of Twitter users that follows the specified user.

SYNTAX

ById (Default)

Get-TwitterFollowers [-Id <String>] [-IncludeExpansions] [<CommonParameters>]

ByUser

Get-TwitterFollowers -User <User> [-IncludeExpansions] [<CommonParameters>]

DESCRIPTION

Returns a collection of Twitter users that follows the specified user.

If no user is specified, returns the followers of the authenticating user.

EXAMPLES

Example 1

PS > Get-TwitterFollowers

Returns the followers of the authenticating user.

Example 2

PS > Get-TwitterFollowers -Id 1330877955057344513

Returns the followers of the user specified by their id.

Example 3

PS > Get-TwitterUser -User BluebirdPS | Get-TwitterFollowers

Unfollows the user returned by Get-TwitterUser.

PARAMETERS

-Id

Specifies the id of the user to return their followers.

Type: String
Parameter Sets: ById
Aliases:

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

-User

The user object, returned by Get-TwitterUser, to return a list of users following them.

Type: User
Parameter Sets: ByUser
Aliases:

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

-IncludeExpansions

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

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

System.String

BluebirdPS.APIV2.UserInfo.User

OUTPUTS

BluebirdPS.APIV2.UserInfo.User[]

NOTES

Online Version

Get-TwitterUser

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