Facebook 'Like' button breaks https/SSL

前端 未结 4 1473
梦毁少年i
梦毁少年i 2020-12-14 04:40

On an e-commerce website I maintain, I added a Facebook \'Like\' button per the instructions here:

http://developers.facebook.com/docs/reference/plugins/like

4条回答
  •  失恋的感觉
    2020-12-14 05:28

    You can avoid SSL warnings for domains that support SSL by not being specific about the transport protocol. e.g. instead of including http:// or https://, use //.

    Instead of

    
    

    use