Quantcast
Channel: Tweetinvi a friendly Twitter C# library
Viewing all articles
Browse latest Browse all 4126

Edited Unassigned: Using Library in PowerShell [2066]

$
0
0
Been having problems using this library in PowerShell, any idea what could be wrong?

```
[reflection.assembly]::LoadFrom("C:\Tweetinvi.API.dll")
$creds = [Tweetinvi.TwitterCredentials]::CreateCredentials("<redacted>",
"<redacted>",
"<redacted>-<redacted>",
"<redacted>")

[Tweetinvi.TwitterCredentials]::Credentials = $creds

$tweet = [Tweetinvi.Tweet]::CreateTweet("test")
$tweet.Publish()
```

When ran it returns False
Comments: ** Comment from web user: linvi **

Thank you for sharing your solution.
I will now close the ticket.

Regards,
Linvi


Viewing all articles
Browse latest Browse all 4126

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>