Set-Retweet
SYNOPSIS
Retweet or unretweet an existing Tweet.
SYNTAX
Retweet (Default)
Set-Retweet -Id <String> [-Retweet] [<CommonParameters>]
Unretweet
Set-Retweet -Id <String> [-Unretweet] [<CommonParameters>]
DESCRIPTION
Retweet or unretweet an existing Tweet.
Returns the original Tweet with Retweet details embedded.
EXAMPLES
Example 1
PS > Set-Retweet -Id 1330354141055643648
Retweets the specified Tweet.
Example 2
PS > Set-Retweet -Id 1330354141055643648 -Unretweet
Unretweets the specified Tweet.
PARAMETERS
-Id
The id of the Tweet.
Type: System.String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Retweet
Instructs the command to retweet the specified Tweet.
Type: System.Management.Automation.SwitchParameter
Parameter Sets: Retweet
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-Unretweet
Instructs the command to unretweet the specified Tweet.
Type: System.Management.Automation.SwitchParameter
Parameter Sets: Unretweet
Aliases:
Required: False
Position: Named
Default value: False
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
RELATED LINKS
API Documentation - POST /2/users/:id/retweets
API Documentation - DELETE /2/users/:id/retweets/:source_tweet_id