Ali
Ali

Reputation: 267049

Using facebook connect with Jquery

Is it possible to use Facebook connect with Jquery? I've found some old posts saying it isn't possible, but I'm not sure how things currently are. I've found that the Facebook connect code is mostly using Fb as the namespace, while jquery uses the $ sign, so may be it is possible?

Upvotes: 2

Views: 1986

Answers (1)

zombat
zombat

Reputation: 94147

Yes, it is quite possible to do so. As long as you aren't making an FBML app, you can use whatever Javascript you'd like. IFrame apps and Facebook Connect sites are fine.

I have several apps that utilize both MooTools and/or JQuery along with FB Connect with no issues at all. You are right about the namespacing... Facebook has attempted to isolate their functionality within the FB namespace, so there are no longer conflicts with common global functions.

Upvotes: 4

Related Questions