I have a Facebook application that uses the Facebook Connect.js.
I am running my application over HTTPS. All content on the site is delivered from https://
https://
I was having a similar problem (fb comments not working in secure mode). This solves it - just reference the javascript file via https:
Or don't specify the scheme to work for both: