fb:comments-count tag not working in razor view

折月煮酒 提交于 2019-12-25 15:51:04

问题


I put facebook comment tag in razor view page.

<fb:comments-count href=http://example.com/></fb:comments-count> awesome comments

it breaks my page. is there a way to fix it?


回答1:


You may not have included the facebook xml namespace in your <html> tag.

<html xmlns:fb="http://ogp.me/ns/fb#">



来源:https://stackoverflow.com/questions/9780524/fbcomments-count-tag-not-working-in-razor-view

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!