如何更新从C#Twitter的状态? [英] How to update Twitter status from c#?
问题描述
我想不使用外部库,也不DLL-S更新的Twitter状态。我发现,例如该解决方案:
I would like to update status on Twitter without using external libraries nor dll-s. I've found for example this solution:
HTTP://www.dreamin$c$c.net /$c$c/snippet2556.htm
但它不工作,不给任何错误。
But it does not work and does not give any error.
你能告诉我如何从C#编程方式更新状态?
Could you please tell me how to update status programmatically from c#?
当我赶上的错误,我得到:
When I catch error I get:
500内部服务器错误
500 Internal Server Error
推荐答案
这可能不是因为catch块'吃'例外给出任何错误。尝试摆脱的try / catch(仅用于测试目的)或者做一些在catch通知您的任何错误。
It might not give any errors because the catch block is 'eating' the exception. Try getting rid of the try/catch (for testing purposes only) or do something in the catch to notify you of any errors.
这篇关于如何更新从C#Twitter的状态?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!