I am reading this article about Optimize Social Plugin Performance
http://developers.facebook.com/blog/post/530/
The article describes how to use channelUrl with channel.html file.
The thing is that the article is about XFBML Social Plugins, wheras I am using HTML5 Social Plugins.
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class="fb-comments" data-href="http://example.com" data-num-posts="2" data-width="470"></div>
My question is how to and/or do I still need to use the channelUrl with channel.html with HTML5 Social Plugins?
I can’t find any info that talks about channelUrl in context of HTML5 Social Plugins.
Whether you are embedding the plugins via XFBML or HTML5 tags does not make a lot of difference. They both get parsed by the JS SDK, and that is what’s making some cross domain requests in the background, and the channel.html file is a means of speeding those up
in older browsers.So, to clearly answer your question: Yes, you should give an address for your channel.html file, no matter whether you are using XFBML or HTML5 tags to embed social plugins.