Skip to content

Add-GitHubUserSocial

SYNOPSIS

Add social accounts for the authenticated user

SYNTAX

Add-GitHubUserSocial [-AccountUrls] <String[]> [-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION

Add one or more social accounts to the authenticated user's profile. This endpoint is accessible with the user scope.

EXAMPLES

EXAMPLE 1

Add-GitHubUserSocial -AccountUrls 'https://twitter.com/MyTwitterAccount', 'https://www.linkedin.com/company/MyCompany'

Adds the Twitter and LinkedIn accounts to the authenticated user's profile.

PARAMETERS

-AccountUrls

Full URLs for the social media profiles to add.

Type: String[]
Parameter Sets: (All)
Aliases: account_urls

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

-ProgressAction

{{ Fill ProgressAction Description }}

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

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

OUTPUTS

System.Void

NOTES

Add social accounts for the authenticated user