Click here to Skip to main content
15,891,912 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
On internet i came to find a code for embedding my tweets in website. The code is
XmlDocument twitter = new XmlDocument();
       twitter.Load(@"http://twitter.com/statuses/user_timeline/15224867.rss");
       XmlNodeList twitterNodes = twitter.SelectNodes("/rss/channel/item");
       for (int i = 0; i <= 5; i++)
       {
           Repeater1.DataSource = twitterNodes;
           Repeater1.DataBind();
       }

But when i run it it shows error on the line
C#
twitter.Load(@"http://twitter.com/statuses/user_timeline/15224867.rss");

i don't know what the url is meant for can you please explain me what it is
Posted
Updated 26-Oct-13 8:38am
v3
Comments
ridoy 26-Oct-13 14:37pm    
possibly it would be userid from where you have don code.Use you own userid in that link.
S. M. Ahasan Habib 26-Oct-13 15:04pm    
what type of error you are finding. Error detail information need to show here.

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900