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: Darkoperator **
```
[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: Darkoperator **
got it to work, had to put it all in one line like in C#