在asp.net中发表评论错误 - (URL Rewritng) [英] Error with facebook comment in asp.net -(URL Rewritng)

查看:68
本文介绍了在asp.net中发表评论错误 - (URL Rewritng)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用fb:comments我收到以下错误:

Using the fb:comments I am getting the following error:

Example : Warning: http://www.goodnewstab.com/article/HealthTechnolgy/Health/Cuts-That-Save-A-Millon-Hearts is unreachable.



我在做什么:

URL重写使用.net 4.0

我已经包含了以下代码库


What i am doing:
URL rewriting using .net 4.0
I have included the folling code base

<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:og="http://ogp.me/ns#"
      xmlns:fb="https://www.facebook.com/2008/fbml">
<head>
<meta property="fb:app_id" content="358301920913978" />
<meta property="og:type" content="article" />
<meta property="og:site_name" content="The Good News Tab" />
<meta property="og:url" content="http://www.goodnewstab.com/article/HealthTechnolgy/Health/Cuts-That-Save-A-Millon-Hearts/" />
<meta property="og:title" content="Cuts That Save A Millon Hearts" />
<meta property="og:description" content="Cuts That Save A Millon Hearts" />

	<!-- FACEBOOK JAVASCRIPT-->
    <script type="text/javascript">
        (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&appId=";
              js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=358301920913978";
            fjs.parentNode.insertBefore(js, fjs);
        } (document, 'script', 'facebook-jssdk'));</script>

    <!-- ================= -->

</head>
<body>

<fb:comments href="http://www.goodnewstab.com/article/HealthTechnolgy/Health/Cuts-That-Save-A-Millon-Hearts" num_posts="10" width="570" xmlns:fb="#unknown"></fb:comments>

</body>



任何人都可以帮我吗?


can any body help me?

推荐答案

http://www.youtube.com/watch?v=_MjAL6J0BD4 [ ^ ]


这篇关于在asp.net中发表评论错误 - (URL Rewritng)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆