How to read Twitter feeds

后端 未结 2 1289
暖寄归人
暖寄归人 2020-12-19 17:57

I\'ve used this example to retrieve my twitter feeds however it has an error

The remote server returned an error: (400) Bad Request.

相关标签:
2条回答
  • 2020-12-19 18:30

    Have you tried manually going to "http://twitter.com/statuses/user_timeline/" + User + ".rss" in your browser, and seeing if you get a 400 error there? I'm guessing a typo in your user name when you call Twitter.Parse(UserName);

    0 讨论(0)
  • 2020-12-19 18:37

    Consider using a library that abstracts all the parsing for you.

    Try Twitterizer, a .NET library designed for quick and easy Twitter integration.

    There is a large set of documentation on the Twitterizer API, and sample code. Perhaps get a feel for how others are using it by browsing the Twitterizer tag on StackOverflow.

    0 讨论(0)
提交回复
热议问题