jeffiepoo
asked on
Imbed Twitter Feed on webpage
Hey Experts,
I want to imbed twitter functionality into my webpage, and have it display the latest tweet from a user. Please tell me how to do this.
The following page: https://dev.twitter.com/docs/embedded-tweets
seems to give information on how to get a specific tweet on the webpage, but not how to get the most recent tweet (updated) onto the webpage. It seems on all of the examples you are passing in an 'ID' that is the id of the specific Tweet.
Please help. Hopefully this will be simple for some of you to explain. Please go into detail, because when they say 'cache the response', I'm not sure how to do that.
I'm using MVC in C# (.NET 4.0)
Thanks for any help!
-Jeff
I want to imbed twitter functionality into my webpage, and have it display the latest tweet from a user. Please tell me how to do this.
The following page: https://dev.twitter.com/docs/embedded-tweets
seems to give information on how to get a specific tweet on the webpage, but not how to get the most recent tweet (updated) onto the webpage. It seems on all of the examples you are passing in an 'ID' that is the id of the specific Tweet.
Please help. Hopefully this will be simple for some of you to explain. Please go into detail, because when they say 'cache the response', I'm not sure how to do that.
I'm using MVC in C# (.NET 4.0)
Thanks for any help!
-Jeff
You could also use their RSS feed. (I know, not official, but...)
http://api.twitter.com/1/statuses/user_timeline.rss?screen_name=USERNAMEHERE
http://api.twitter.com/1/statuses/user_timeline.rss?screen_name=USERNAMEHERE
ASKER
selvol, how would I do it for this user?
https://twitter.com/MLARband
I didn't see anything in your code that was user specific.
https://twitter.com/MLARband
I didn't see anything in your code that was user specific.
http://api.twitter.com/1/statuses/user_timeline.rss?screen_name=MLARBand
p.s. you don't need much code to develop a feed reader that will show you the latest item...
p.s. you don't need much code to develop a feed reader that will show you the latest item...
ASKER
I need more time to test this out.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Easiest solution was my own.
Open in new window
result_type= recent
rpp = posts per page
Now it just needs to be decoded from Json.
Should be easy in C# . I don't know C#
Selvol
Selvol