Skip to content

Instantly share code, notes, and snippets.

@jamesdaniels
Created May 8, 2009 19:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jamesdaniels/108959 to your computer and use it in GitHub Desktop.
Save jamesdaniels/108959 to your computer and use it in GitHub Desktop.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml">
<head>
<script src="http://static.ak.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php" type="text/javascript"></script>
</head>
<body>
<!– Here is the XFBML code –>
<fb:profile-pic uid="5805079"></fb:profile-pic>
<fb:name uid="5805079" useyou="false"></fb:name>
<fb:profile-pic uid="5803358"></fb:profile-pic>
<fb:name uid="5803358" useyou="false"></fb:name>
<!– Remember all XFBML tags should be placed before below javascript code –>
<script type="text/javascript">
FB_RequireFeatures(["XFBML"], function(){
FB.Facebook.init(<?= $api_key ?> "xd_receiver.html");
});
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment