Return to Snippet

Revision: 49929
at August 2, 2011 13:06 by serialk89


Initial Code
<?php
// THE MAGIC SAUCE
$signed_request = $facebook->getSignedRequest();

$page_id = $signed_request["page"]["id"];
$like_status = $signed_request["page"]["liked"];
// HERE IS A STRING OF YOUR APP DATA.
$app_data = $signed_request["app_data"];

echo '$app_data = '.$app_data;
?>

Initial URL

                                

Initial Description
Rescato variables desde un iframe con $signed_request

Initial Title
Request data from URL iframe Facebook app

Initial Tags
url, data, api, facebook

Initial Language
PHP