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 **
No Problem,
Here is the example, hope it is helpful for others :)
```
[reflection.assembly]::LoadFrom("C:\Tweetinvi.API.dll")
[Tweetinvi.TwitterCredentials]::Credentials = [Tweetinvi.TwitterCredentials]::CreateCredentials("...-...", "..", "...", "..")
[Tweetinvi.Timeline]::GetHomeTimeline() | select creator,text
```