You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When building a F# console application (as opposed to FSI) application-only authentication works just fine.
However
let connector = Twitter.Authenticate(key, secret)
fails with:
System.Threading.ThreadStateException was unhandled
Message: An unhandled exception of type 'System.Threading.ThreadStateException' occurred in System.Windows.Forms.dll
Additional information: ActiveX control '8856f961-340a-11d0-a96b-00c04fd705a2' cannot be instantiated because the current thread is not in a single-threaded apartment.
The text was updated successfully, but these errors were encountered:
I'm not sure if the PIN-based authentication is the right thing to do from a console application. There are other access options as well that we haven't implemented so far: https://dev.twitter.com/docs/auth/obtaining-access-tokens
(we'll be happy for pull requests!)
Referencing: http://fsprojects.github.io/FSharp.Data.Toolbox/TwitterProvider.html
When building a F# console application (as opposed to FSI) application-only authentication works just fine.
However
let connector = Twitter.Authenticate(key, secret)
fails with:
System.Threading.ThreadStateException was unhandled
Message: An unhandled exception of type 'System.Threading.ThreadStateException' occurred in System.Windows.Forms.dll
Additional information: ActiveX control '8856f961-340a-11d0-a96b-00c04fd705a2' cannot be instantiated because the current thread is not in a single-threaded apartment.
The text was updated successfully, but these errors were encountered: