Salut à tous
j'ai un code en PHP je veux le convertir en HTML svp comment faire
voila le code
Code php : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 <?php $app_id = "XXXXXXXXXX"; $your_website_link="http://www.XXXXXXX.com"; $picture="http://www.XXXXXXXXXXXXXXXXXXXXXXXXXXX.jpg"; $title="XYXYXYXYXYX"; $description="XYXYXXXXXXXXXXXXXXXYYYYYYYYYYYYYYXXXXXXXXXXXXXXYYYYYY"; $redirect_user="http://www.XXXXXXXXXXXXXXXX.com"; $message="Hello"; //$feed_url = "http://www.facebook.com/dialog/feed?app_id=". $app_id ."&redirect_uri=" . urlencode($redirect_user)."&message=".$message; $feed_url = "http://www.facebook.com/dialog/feed?app_id=". $app_id . "&link=".urlencode($your_website_link)."&name=".$title."&picture=".urlencode($picture)."&description=".$description."&redirect_uri=" . urlencode($redirect_user)."&message=".$message; if (empty($_REQUEST["post_id"])) { echo("<script> top.location.href='" . $feed_url . "'</script>"); } else { echo ("Feed Post Id: " . $_REQUEST["post_id"]); } ?>
Partager