Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
39 lines (33 sloc) 1.18 KB
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
<html xmlns="" xmlns:fb="">
<title>Facebook Connect Demo 1</title>
Facebook Connect Demo 1</h1>
<p>Login flow example, with simple API call example</p>
<p>Login Button:</p>
<a href="index.htm">back to index.htm</a>
<script src=""
<script type="text/javascript">
FB_RequireFeatures(["XFBML"], function()
FB.Facebook.init("YOUR_API_KEY_HERE", "xd_receiver.htm");
window.alert("Session is ready");
//If you want to make Facebook API calls from JavaScript do something like
FB.Facebook.apiClient.friends_get(null, function(result, ex) {
//Do something with result
window.alert("Friends list: " + result);