Skip to content

Get-TwitterFollowers

SYNOPSIS

Returns a collection of user objects or array of user ids that is following the specified user.

SYNTAX

Default (Default)

Get-TwitterFollowers [-ScreenName <String>] [-UserId <String>] [-ResultsPerPage <Int32>] [<CommonParameters>]

List

Get-TwitterFollowers [-ScreenName <String>] [-UserId <String>] [-ResultsPerPage <Int32>] [-List] [-SkipStatus] [-ExcludeEntities] [<CommonParameters>]

DESCRIPTION

Returns a collection of user objects or array of user ids that is following the specified user.

EXAMPLES

Example 1

PS > Get-TwitterFollowers -ScreenName thedavecarroll

Returns an array of user ids that the specified user is following.

Example 2

PS > Get-TwitterFollowers -List -ScreenName thedavecarroll -SkipStatus -ExcludeEntities

Returns a collection of user objects that the specified user is following, excluding the user's last status and the entities.

PARAMETERS

-List

By using this switch, this command will return user objects instead of an array of user ids.

Type: SwitchParameter
Parameter Sets: List
Aliases:

Required: False
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: List
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

-ScreenName

The screen name of the user for whom to return results.

Type: String
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: List
Aliases:

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

-UserId

The ID of the user for whom to return results.

Type: String
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-TwitterFriends

Get-TwitterFollowers

Api Reference - GET followers/ids

Api Reference - GET followers/list