Skip to content

F# Data Toolbox: Twitter type provider - single-threaded apartment #12

@JonnyBoats

Description

@JonnyBoats

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions