Skip to content

Get-TwitterFriends

SYNOPSIS

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

SYNTAX

ById (Default)

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

ByUser

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

DESCRIPTION

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

EXAMPLES

Example 1

PS > Get-TwitterFriends

Returns the users followed by the authenticating user.

Example 2

PS > Get-TwitterFriends -Id 1330877955057344513

Returns the users followed by the specified user.

Example 3

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

Returns the users followed by the user returned by Get-TwitterUser.

PARAMETERS

-Id

Return a list of users followed by the user, as specified by the id.

Type: String
Parameter Sets: ById
Aliases:

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

-User

Return a list of users followed by the user, as specified by the user object returned by Get-TwitterUser.

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

Add-TwitterFriend

Remove-TwitterFriend

Get-TwitterUser

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