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
<html lang="en" prefix="og: http://ogp.me/ns#" xmlns:fb="http://www.facebook.com/2008/fbml"> | |
<head><title>Hello Facebook</title></head> | |
<body> | |
<div id="content"></div> | |
<div id="fb-root"></div> | |
<script src="/path/to/js/LAB.min.js"></script> | |
<script> | |
window.fbAsyncInit = function() { | |
// jQuery will be loaded due to the LAB.js "wait" | |
$("#content").html("Welcome!"); |
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
<html lang="en" prefix="og: http://ogp.me/ns#" xmlns:fb="http://www.facebook.com/2008/fbml"> | |
<head><title>Hello Facebook</title></head> | |
<body> | |
<div id="fb-root"></div> | |
<script type="text/javascript"> | |
window.fbAsyncInit = function() { | |
FB.init({ | |
appId: YOUR_APP_ID_HERE, | |
channelURL: '//www.example.com/channel.html', // Channel File | |
status: true, // check login status |