Facebook - using FBJS in iframe apps

I am trying to use FBJS in my iframe app. None of what I write seems to work. Any ideas?

+2


source to share


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


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







All Articles