使用C#代码下载Twitter的推文时突然出现 [英] intrupt in downloading tweets of twitter using C# code

查看:98
本文介绍了使用C#代码下载Twitter的推文时突然出现的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨.我正在对Twitter进行研究.我发现一个ac#代码正在使用Twitter api下载我在porogram中指定的用户的tweets,但问题是当程序运行一段时间后不再能够下载tweets时,它的运行速度为0推文数量.

Hi. I am doing a research on twitter. I found a c# code which is using a twitter api to download the tweets of the users that I specify in the porogram but the problem is when I run the program after a while the program is no longer able to download the tweets and it gets 0 number of tweets. Is there any one facing with this issue before?

推荐答案

请不要在您的问题周围放置代码块.

可能需要更多信息才能回答这个问题-您正在使用哪个Twitter库?您正在访问哪个Twitter API? Twitter会限制您在特定时间段内对其发出的请求的数量,以及一整天的限制(您需要在Twitter Developers网站上查询确切的限制)-如果超出此限制限制您将得到空的响应.尝试大量下载某人的Tweets可能会导致您超出限制.

希望这会有所帮助,
Ed
Please don''t place code blocks round your question.

Further information required to answer this question (probably) - which Twitter library are you using? Which Twitter API are you accessing? Twitter has a limit on the number of requests you are allowed to make to it in certain time periods and a limit for the whole day (you will need to look up the exact limits on the Twitter Developers'' Website) - if you exceed this limit you will get empty responses. Trying to mass download a person''s Tweets would probably cause you to exceed the limit.

Hope this helps,
Ed


这篇关于使用C#代码下载Twitter的推文时突然出现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆