Por que essa marcação XFBML incorporada em um aplicativo iframe'd do Facebook não exibe nada?
Eu tenho tentado fazer com que esse aplicativo funcione no Facebook, mas nada parece renderizar dentro do aplicativo, exceto
"Hi this is some sample text."
A box stroked in red. "I am My photo " and a default silhoutte of a Facebook user
as the photo.
A seguir, o código-fonte do quadro de tela:
<!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>
<title>Cutting Masala Chai Invitation</title>
</head>
<body>
<script type="text/javascript"
src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php"></script>
Hi this is some sample text.
<fb:serverfbml style="border: 1px solid red; min-width: 700px;min-height: 400px">
<script type="text/fbml">
<fb:fbml>
<fb:request-form
action="http://www.cuttingmasalachai.com/facebook"
method="POST"
invite="true"
type="Cutting Masala Chai"
content="<fb:name uid="605869619" firstnameonly="true" shownetwork="false" />wants to invite you share stories and vote for celebrities for the book Cutting Masala Chai,<fb:req-choice url="http://apps.facebook.com/cuttingmasalachai" label="Add Cutting Masala Chai" />">
<fb:multi-friend-selector
max="20"
actiontext="Invite your friends to Cutting Masala Chai."
showborder="false"
rows="5">
</fb:multi-friend-selector>
</fb:request-form>
</fb:fbml>
</script>
</fb:serverfbml>
I am <fb:name uid="605869619" firstnameonly="true" shownetwork="false"></fb:name>
My photo <fb:profile-pic uid="605869619"></fb:profile-pic>
<script type="text/javascript">
FB_RequireFeatures(["XFBML"], function(){
console.log('fb_requirefeatures function got called');
FB.Facebook.init("0acf016613ca171e9665f128d318fd75", "/facebook/xd_receiver.html");
});
</script>
</body>
</html>
Configurações do aplicativo:Modo de Lona: IFRAMEURL de retorno de tela:http://www.cuttingmasalachai.com/facebook
URL da tela:http://apps.facebook.com/cuttingmasalachai
URL paraxd_receiver.html
: http://www.cuttingmasalachai.com/facebook/xd_receiver.html
Conectar URL:http://www.cuttingmasalachai.com/facebook
Domínio base:www.cuttingmasalachai.com
Eu ficaria grato por qualquer ajuda. Obrigado.