Facebook JavaScript SDK over HTTPS loading non-secure items

前端 未结 8 1589
时光说笑
时光说笑 2020-11-29 21:19

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://

8条回答
  •  天涯浪人
    2020-11-29 21:54

    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:

    
    

提交回复
热议问题