In HTTPS mode FB.XFBML.parse on fb:profile-pic makes HTTP links to images
FB.XFBML.parse in HTTPS mode makes HTTP links to images (not H开发者_如何学编程TTPS). Is this bug of FB.XFBML.parse? What can I do to avoid this problem?
I resolve this problem by using GraphAPI Pictures links http://developers.facebook.com/docs/reference/api/. It has special parameter return_ssl_resources=1 for HTTPS protocol. So I use https://graph.facebook.com/facebook_id/picture?return_ssl_resources=1 link.
精彩评论