Jamesking56 Posted July 7, 2009 Share Posted July 7, 2009 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 More sharing options...
Ingolme Posted July 7, 2009 Share Posted July 7, 2009 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 More sharing options...
NurAzije Posted July 9, 2009 Share Posted July 9, 2009 There is a class in PHP that simplifies things, if you add some functionalities to it you can have what you need.http://www.phpclasses.org/browse/package/4075.html Link to comment Share on other sites More sharing options...
Synook Posted July 9, 2009 Share Posted July 9, 2009 I also wrote a API class once, http://www.aspektas.com/blog/a-concise-fac...i-php-interface - simpler than the PHPClasses one though. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.