PoshTwit.dll-Help.xml
<?xml version="1.0" encoding="utf-8" ?>
<helpItems xmlns="http://msh" schema="maml"> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Publish-Tweet</command:name> <command:verb>Publish</command:verb> <command:noun>Tweet</command:noun> <maml:description> <maml:para>Publishes a new tweet to Twitter.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>The Publish-Tweet command creates a new tweet on Twitter, using the specified credentials. Because automation code and the oAuth flow are not very friendly with each other, we require the use of a pre-generated Access Token from https://apps.twitter.com. You'll need to register a new application, and then generate an Access Token. The four authentication components you'll need are: 1) Consumer Secret, 2) Consumer Key, 3) Access Token, 4) Access Token Secret. </maml:para> <maml:para>This command enables you to specify Twitter credentials in-line using named parameters. Alternatively, you can call the Set-PoshTwitToken command in advance, to configure a file (token.json) in the module directory. This avoids the need to regularly specify the credentials each time you invoke Publish-Tweet.</maml:para> </maml:description> </command:command> </helpItems> |