We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1b9862 commit a1d4844Copy full SHA for a1d4844
1 file changed
examples/example.php
@@ -67,10 +67,10 @@
67
window.fbAsyncInit = function() {
68
FB.init({
69
appId : '<?php echo $facebook->getAppId(); ?>',
70
+ session : <?php echo json_encode($session); ?>, // don't refetch the session when PHP already has it
71
status : true, // check login status
72
cookie : true, // enable cookies to allow the server to access the session
- xfbml : true // parse XFBML
73
- session : <?php echo json_encode($session); ?>, // don't refetch the session when PHP already has it
+ xfbml : true // parse XFBML
74
});
75
76
// whenever the user logs in, we refresh the page
0 commit comments