back

Advertise

This advertises your position on your newsfeed. You may need to change the settings for Sex so that it has permission to write to your wall. You can always delete to story or change the size.

require_login(); $bundle = 48640476760; if(isset($_POST['sex']) && $_POST['sex'] == 'foo') { if(($pos = SexExtract($fb->api_client->profile_getFBML($user))) == null) { echo 'That\'s fucked up. Try choosing your position again.'; break; } echo 'Publishing '.$pos.' . . . '; $replace = '{"pos":"'.$sex[$pos][0].'","images":[{'. '"src":"http://www.cs.mcgill.ca/~nedelm/sex/stuff/'.$pos.'.jpg",'. '"href":"http://apps.facebook.com/sexfuck/"}]}'; try { $fb->api_client->feed_publishUserAction($bundle, $replace, null, null, 2); } catch(Exception $e) { echo 'OhNo! '.$e->getMessage().'.'; } } else { echo '
'. ''. ''; } ?>