Post categories

Recommended Wordpress Hosting from WPEngine

  • I use these guys for some of my clients; absolutely rock solid and blazingly fast - check them out!

Here are a couple of ads whose clicks and views help me pay for my server hosting

A simple php class to get latest Facebook and Twitter posts

I’ve just posted a simple PHP class to github (free under MIT license) that will let you fetch the latest Twitter and Facebook posts. All you need is a developer key for both, then to include the PHP file and you’re set!

$social = new SebSoSocial($twitterAcc, $facebookAcc, $numOfEach); 
foreach ($social->posts as $post) {
  echo $post->date . " - " . $post->content;

Full instructions and source code available here: