Set-TweetLike
SYNOPSIS
Likes or un-likes the specified Tweet as the authenticating user.
SYNTAX
LikeById (Default)
Set-TweetLike -Id <String> [-Like] [<CommonParameters>]
UnlikeById
Set-TweetLike -Id <String> [-Unlike] [<CommonParameters>]
UnlikeByTweet
Set-TweetLike -Tweet <Tweet> [-Unlike] [<CommonParameters>]
LikeByTweet
Set-TweetLike -Tweet <Tweet> [-Like] [<CommonParameters>]
DESCRIPTION
Likes or un-likes the specified Tweet as the authenticating user.
The immediately returned Tweet object may not indicate the resultant status of the Tweet.
EXAMPLES
Example 1
PS > Set-TweetLike -Id 1330354141055643648
Like the specified Tweet.
Example 2
PS > Set-TweetLike -Id 1330354141055643648 -Unlike
Un-like the specified Tweet.
PARAMETERS
-Id
The id of the Tweet.
Type: System.String
Parameter Sets: LikeById, UnlikeById
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
-Tweet
A Tweet object returned by a command directly or as part of the included objects of a User object.
Type: BluebirdPS.APIV2.TweetInfo.Tweet
Parameter Sets: UnlikeByTweet, LikeByTweet
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
-Like
Like the specified Tweet.
Type: System.Management.Automation.SwitchParameter
Parameter Sets: LikeById, LikeByTweet
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-Unlike
Un-like the specified Tweet.
Type: System.Management.Automation.SwitchParameter
Parameter Sets: UnlikeById, UnlikeByTweet
Aliases:
Required: True
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.