# Ruby and FBML

**URL:** <https://www.ruby-forum.com/t/ruby-and-fbml/125036>\
**Category:** Rails\
**Created:** [January 4, 2008, 6:56pm UTC](https://www.ruby-forum.com/t/ruby-and-fbml/125036 "2008-01-04T18:56:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Haris\_G](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/8edcca/32.png) [@Haris\_G](https://www.ruby-forum.com/u/Haris_G)\
**Post date:** [January 4, 2008, 6:56pm UTC](https://www.ruby-forum.com/t/ruby-and-fbml/125036/1 "2008-01-04T18:56:10Z")

</div>

Hello all,

I am developing a facebook application using FBML/RFacebook. My  
index.rhtmlfile only contains \<fb:profile-pic uid=loggedinuser\>. This  
is working in  
FBML test console provided by facebook. This also works on IFrame, but  
if I  
set my application settings to Use FBML, I get an error saying

Errors while loading page from application

Received HTTP error code 422 while loading  
[http://203.81.196.6:3000/socialrecipe/](http://203.81.196.6:3000/socialrecipe/)  
My controller for socialrecipe doesnt have anything in its index  
definition.  
I have also tried putting other HTML tags but it doesnt work. But if I  
change my settings to Use IFrame, it starts working (obviously the  
fb:profile-pic doesnt work coz its an FBML tag, but other HTML elements  
work  
fine)

Any help in this regard will be highly appreciated

–  
Regards

Haris G.
