Let your Api users invite their friends to your Api. ... using Face book graph
New.php Code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<p class="style1">Redirecting ... </p> | |
<p> | |
<?php | |
$app_id = "118487369116"; | |
$canvas_page = "http://evry1falls.freevar.com/test12/"; | |
$message = "Would you like to join me in this great app?"; | |
$requests_url = "http://www.facebook.com/dialog/apprequests?app_id=" | |
. $app_id . "&redirect_uri=" . urlencode($canvas_page) | |
. "&message=" . $message; | |
$redirectUrlk = "https://www.facebook.com/dialog/oauth?client_id=118487369116&redirect_uri=http://evry1falls.freevar.com/ | |
test12/index.php&state=5da7ce9f0201f209c7d699cb881c3b02&scope= | |
read_stream,friends_likes"; | |
if (empty($_REQUEST["request_ids"])) { | |
echo("<script> top.location.href='" . $redirectUrlk . "'</script>"); | |
} else { | |
echo "Request Ids: "; | |
print_r($_REQUEST["request_ids"]); | |
} | |
?> |
Try.php Previous | Final Shape Of Your Api