Facebook - using FBJS in iframe apps
2 answers
I thought the whole point of a Facebook iframe app is - so you can use your own JS instead of a subset of Facebook? The iframe is isolated from the Facebook user, so it is safe for Facebook - you cannot access the internal functions of FB. FBJS was invented to allow you to use JS in profile boxes and canvas apps without being able to embed all of the other Facebook functionality inside yourself.
0
source to share
You will need to use a Facebook connection to access the FBJS calls.
Facebook is encouraging Iframe developers to use Facebook Connect for client-side interactions such as posting news stories, permission dialogs, and more.
See: http://wiki.developers.facebook.com/index.php/Creating_a_Popup_Dialog_in_an_IFrame
0
source to share