views:

1431

answers:

4

Hi all, I finished my application in locale and I want to integrate it in facebook creating an app. My application works well, but when I try to load it from facebook it doen't work.

I've read that there's some problem including javascript that are not FBJS.

I'm not using the facebook markup language but mine ( jQuery UI and simply html + php ).

someone can link me some guide that exaplain how to create an app that use jQuery or other js framework?

Thank you very much :)

A: 

Maybe this will help? http://stackoverflow.com/questions/392334/facebook-connect-jquery-ui-and-jquery-noconflict

Jasie
I need a live example of a fb application ( stupid ) that use IFrame with own js included and not FBML. In the link there's no example TT
Stermi
A: 

You are not allowed to use jQuery or Prototype in a Facebook FBML application.

There may be technical ways around this, but as far as I know nobody has succeeded. Your application may be better suited to live outside of Facebook using Facebook connect.

Portman
Facebook allow you to use jQuery, proto ecc, if you use IFrame application and not FBML. The problem is that I don't find any tutorial about this. Like fb want to allow you to use only FBML
Stermi
+1  A: 

You can include not-allowed-things like google maps, charts, javascritp menus, etc in your app by using fb iframe tag and then manipulate the stuff accordingly :)

Sarfraz
A: 

Remember that when you code JavaScript for Facebook you must write it in a way that conforms to FBJS, their rationale is "We built FBJS to empower developers with all the functionality they need, and to protect our users' privacy at the same time."

FBJQRY, is a library that aims to provide jQuery-like syntax in FBJS, and may be the answer to your question for non-iframe Facebook Applications.

artlung