English 中文(简体)
说明从多个评论箱到单一一流面页的评论的代码?
原标题:code for showing comments from multiple comment boxes to a single iframe facebook page?

Ive installed a facebook comment box on a php product page on our website. This means the comment box is displayed on all our product pages

使用

data-href="<?php echo HTTP_SERVER . $_SERVER[ REQUEST_URI ]; ?>"

用户评论时,用手提书张贴的圆顶是谁。

现在,我试图在我们网站上展示从加拿大产品页到面板上打字的所有评论。

I ve tried adding various different codes to the iframe:

<fb:activity 
site="fmysite"
app_id="myappid">
</fb:activity>

以及

https://www.facebook.com/plugins/comments.php?api_key=mykey

以及 various other urls but I cant get all the comments to show in the iframe.

如果我从一个产品页上排出一只ur,并对它发表评论,那就行了。 但是,这并不是想要实现的。

Is there any way to do this pls?

In the comment moderation tool, all the comments from all the product pages are shown, what is the code that is showing all the comments there? Can I use that?

感谢任何帮助!

最佳回答

我知道你可以这样做。

也许,你可以在这个页上作一番多的评论,一个是每件产品,或者像那件产品一样,但也许不是你所回顾的东西。

Another approach would be to create it yourself. Using FQL you can fetch the comments for all products (using the urls) and then you can simply display them. The problem is that you ll have to sort them and render the display yourself.

为了与FL公司取得评论意见,你需要使用comment table,并且与这种产品长度相似:

SELECT username, text
FROM comment
WHERE object_id IN
    (SELECT comments_fbid
    FROM link_stat
    WHERE url ="PRODUCT_URL")

当然,你可以选择更多/不同的领域,在comment表格文件上读到你的备选办法。

可在用户方面使用FB.api方法()或者从服务器边通过发布以下要求:

https://graph.facebook.com/fql?q=FQL_questRY

只是想到的是,你们需要积极的准入——象征性的,或许是一次或多次的许可(见书)。

问题回答

暂无回答




相关问题
VS 10 mangles html comments?

Using the latest VS 10 we created html markup, then commented it with html comments. The file on disk is not mangled, but when it renders, it renders the html comment tags, then removes some of the ...

Comments & OpenSource software [closed]

This may sound like a foolish question or an observation, but i have seen that most of the times when one tries to look at the opensource code, there are no comments or just one or two lines at the ...

Including commented Class declaration in implementation file

Everyone knows the advantages of a more readable code. So in order to make my code more readable what i do normally is include the commented class declaration in the implementation file of that class....

pair programming with comments [closed]

Over the years, I ve discovered that green-programmers tend to read the comments rather than the code to debug issues. Does having one person document the other person s code (and vice-versa) with ...

Commenting JavaScript functions á la Python Docstrings

It is valid JavaScript to write something like this: function example(x) { "Here is a short doc what I do."; // code of the function } The string actually does nothing. Is there any reason, ...

热门标签