Search code examples
c#proxytweetsharptweetinvi

tweetinvi or tweetsharp inside proxy


I am using tweetinvi in my program to search in Twitter but I am access to internet throw proxy. When I run a program inside proxy the tweetinvi face error.

Any help?


Solution

  • Please check the documentation to use proxies with Tweetinvi.

    https://github.com/linvi/tweetinvi/wiki/Configuration

    // Simple proxy
    TweetinviConfig.CurrentThreadSettings.ProxyURL = "http://228.23.13.21:4287";
    
    // Proxy with password
    TweetinviConfig.CurrentThreadSettings.ProxyURL = "http://username:[email protected]:4287";