I need a php facebook app where upon authentication it will post on the walls of 25 of their friends and then afterwards redirect the user to a page of my choice. only authenticated users are redirected.
I want to be able to specify the variables (content, link, picture) like this in php:
define('FACEBOOK_APP_ID', '185010181511081');
define('FACEBOOK_SECRET', '25d215ffd5320a4041bf7d506c93ebad');
$msgarray=array("");
$message=$msgarray[rand(0,count($msgarray)-1)];
$picture="http://.........[login to view URL]";
$linkarray=array( "[login to view URL]",
"[login to view URL]");
$link=$linkarray[rand(0,count($linkarray)-1)];
$name="lool!!";
$link_caption="oooo";
$description="ooo";
$max_posts=25;
$max_repost_interval=0;
?>