Skip to content

Instantly share code, notes, and snippets.

Joe Devon joedevon

Block or report user

Report or block joedevon

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@joedevon
joedevon / fb.get.status.html
Created Nov 19, 2011
Facebook get user Login Status
View fb.get.status.html
<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
@joedevon
joedevon / jquery-fb-lab.html
Created Nov 20, 2011
Load jQuery & Facebook asynchronously with LAB.js
View jquery-fb-lab.html
<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!");
You can’t perform that action at this time.