I've been trying to get this application working on Facebook, but nothing seems to render within the application except
"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.
The following is the source code of the canvas frame:
<!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&quot; 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>
Application settings:
- Canvas Mode: IFRAME
- Canvas Callback URL:
http://www.cuttingmasalachai.com/facebook
- Canvas URL:
http://apps.facebook.com/cuttingmasalachai
- URL to
xd_receiver.html
:http://www.cuttingmasalachai.com/facebook/xd_receiver.html
- Connect URL:
http://www.cuttingmasalachai.com/facebook
- Base Domain:
www.cuttingmasalachai.com
I'd be grateful for any help. Thank you.