Ehhh zaczynają się popisy adminów ;/ Co się z tym forum stało. Kiedyś to można było się o wszytko zapytać, teraz wielce obrażeni, bo ktoś się coś zapytał

Wyluzujcie i nie doktoryzujcie się, nie popisujcie tylko pomóżcie -> bo do tego jest stworzone forum.
A tak w ogóle jak wywołać:
FB.ui({method: 'apprequests', message: 'You should learn more about this awesome game.', data: 'tracking information for the user'});
Podejście w stylu poniżej jest nieskuteczne
<div id="fb-root"></div>
<script src="http://connect.facebook.net/en_US/all.js"></script>
<script>
FB.init({
appId : 'YOUR APP ID',
status : true, // check login status
cookie : true, // enable cookies to allow the server to access the session
xfbml : true, // parse XFBML
channelUrl : 'http://WWW.MYDOMAIN.COM/channel.html', // channel.html file
oauth : true // enable OAuth 2.0
});
</script>
FB.ui(
{
method: 'feed',
attachment: {
name: 'JSSDK',
caption: 'The Facebook JavaScript SDK',
description: (
'A small JavaScript library that allows you to harness ' +
'the power of Facebook, bringing the user\'s identity, ' +
'social graph and distribution power to your site.'
),
href: 'http://fbrell.com/'
},
action_links: [
{ text: 'fbrell', href: 'http://fbrell.com/' }
]
},
function(response) {
if (response && response.post_id) {
alert('Post was published.');
} else {
alert('Post was not published.');
}
}
);