我在这条线路上遇到麻烦了-
var authenticationContext = AuthFlow.InitAuthentication(applicationCredentials, callBackURL);从我们的应用服务器,互联网呼叫是受限制的。设置代理网址后,我可以在IE浏览器上浏览twitter网站。
现在的难题是如何设置代理以继承TweetInvi对象中的上述代码片段。我试着用这个属性设置一个有效的代理-
TweetinviConfig.ApplicationSettings.ProxyURL但是,我还是发现了Timedout错误。是否有一种方法可以设置代理url来调用Twitter成功?
异常消息:token web请求超时。
Web异常堆栈跟踪:
( Tweetinvi.Credentials.WebTokenFactory.LogExceptionOrThrow(TwitterException ex)在Tweetinvi.Credentials.WebTokenFactory.InitAuthenticationProcess(IConsumerCredentials appCredentials,String callbackURL,Boolean )在Thomson.Financial.Thomlets.Economics.Web.PublishTwitter.GetAutherizeFromTwitter()
发布于 2016-06-06 06:01:28
ProxyURL残杀不起作用。我对实际应用程序的Web.config进行了更改,以使用代理。对web.config进行以下更改,以便服务器能够访问互联网-
<defaultProxy useDefaultCredentials="false">
<proxy usesystemdefault="true" proxyaddress="<proxy address>" bypassonlocal="true" />
</defaultProxy>https://stackoverflow.com/questions/37570614
复制相似问题