Skip to content

Instantly share code, notes, and snippets.

@criccomini
Created September 24, 2012 13:34
Show Gist options
  • Select an option

  • Save criccomini/3775978 to your computer and use it in GitHub Desktop.

Select an option

Save criccomini/3775978 to your computer and use it in GitHub Desktop.
App Engine and Facebook Connect - index.html
<html>
<body>
<script src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php/en_US" type="text/javascript"></script>
<script type="text/javascript">FB.init("{{ apikey }}", '/static/xd_receiver.html');</script>
Hello, {{ name }}!
<br/><br/>
<a href="#" onclick="javascript:FB.Connect.logoutAndRedirect('/')">Logout</a>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment