<?
$picture_url = "http://oxphantomxo.deviantart.com/art/The-doctor-s-happy-face-193080340";
$today = date("D");
require_once 'fb_access.php';
// if it's wednesday, post the pic
if ($today = 'Thurs'){
$status = $facebook->api('/me/feed', 'POST', array('message' => $picture_url));
var_dump($status);
}
?>
I'm sure there's more i need...
This post has been edited by Atli: 13 September 2012 - 09:48 PM
Reason for edit:: Use [code] tags when posting code.

New Topic/Question
Reply



MultiQuote







|