Jump to content

Twitter Feed Grabber


Jamesking56
 Share

Recommended Posts

Hey,Can someone make a Twitter feed grabber for me in PHP?Make it so there is a Variable for the Feed URL and the dates look like "24 mins ago"All I need is Title and dateYou can do it for the Structure of:

<ul class="tweet_list"><li class="tweet_even">TITLE <br /><a class="time" href="URL TO ITEM">TIME</a></li><li class="tweet_odd">TITLE <br /><a class="time" href="URL TO ITEM">TIME</a></li></ul>

Thank you.

Link to comment
Share on other sites

Twitter has an API for developers. You can use file_get_contents() to obtain the information in XML or JSON format and then use it as you want to.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...