Hi Kaz,
First step, I would suggest make sure that the script works (outside of cron) by accessing it from yoursite.com/cron2.php. I did a quick check and it's not returning an error (good start).
You're going to need to add some debug data in there to make sure it's working okay as there's currently no output to tell you what's going on.
I'm guessing the problem lies with the facebook API client, however, as a start, just make sure you add an echo command to check it is accessing the db data correctly
eg:
Code:
echo $fortune."<br>";
Might also help to check it's pulling in the user and session key data correctly too.
I'm not familiar with the facebook api, but let me do some digging.
drums