Skip to content

Instantly share code, notes, and snippets.

@araddon
Created June 22, 2011 22:36
Show Gist options
  • Save araddon/1041438 to your computer and use it in GitHub Desktop.
Save araddon/1041438 to your computer and use it in GitHub Desktop.
PHP FB Signed Rqquest usage from page
<?php
include_once('lib/signed_request.php');
?>
<script type="text/javascript">
window.fb_signed_request = {app_data:'<?php echo grab_app_data ($_REQUEST['signed_request'], 'FB_APP_SECRET_KEY');?>'};
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment