开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜