Wednesday, May 19, 2010

facebook client library

If you are looking for facebook-platform.tar.gz here is the answer:

(look at the recent date)

Old REST API says: If you are new to the Facebook Platform, we recommend you use our new Graph API instead.

It's a terrible mess, I'm unable to log in to even the simpliest application because recent SDK version doesn't include methods every tutorial I encounter uses.

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:fb="http://www.facebook.com/2008/fbml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>stefan_test</title>
</head>
<body>
<h1>stefan_test</h1>
<p><fb:login-button autologoutlink="true"></fb:login-button></p>
<p><fb:like></fb:like></p>

<div id="fb-root"></div>
<script>
window.fbAsyncInit = function() {
FB.init({appId: '100475266666223', status: true, cookie: true,
xfbml: true});
};
(function() {
var e = document.createElement('script');
e.type = 'text/javascript';
e.src = document.location.protocol +
'//connect.facebook.net/en_GB/all.js';
e.async = true;
document.getElementById('fb-root').appendChild(e);
}());
</script>
</body>
</html>


Now is 3AM, tommorow I'm gonna try this tutorial part 1 and 2 (a lot of code included encourages me to do so)

0 komentarze:

Post a Comment