0

anyone notice the will cause your https:// to be unsecure??

When i directly point the browser to https://.../myfb_app/ the file isn't parse as secure if i have the <div id="fb-root"></div> somewhere in the file.

but when i remove <div id="fb-root"></div> , the whole file does parse as secure.

What is the cause and how can i fix this? Any suggestions?? Regards

alex
  • 4,804
  • 14
  • 51
  • 86

1 Answers1

2

This should answer your question: Facebook JavaScript SDK over HTTPS loading non-secure items.

In short, add FB._https = true; before FB.init to force Facebook load files over secure connection.

Community
  • 1
  • 1
Gajus
  • 69,002
  • 70
  • 275
  • 438