English 中文(简体)
如何展示Facebook评论社会原始形象的最新评论?
原标题:How to display recent comments from Facebook Comments social plugin?

Well, I just have a pretty straight question: How do I display recent comments from Facebook Comments social plugin on my website?

我把手法评论社会用词典,我只是想在我旁边放大,展示社会面貌的最新评论。

感谢!

最佳回答

社会花.有一些改变其布局的方法,但所有这些都会让用户撰写新的评论。 仅听取意见的一个途径是联邦后勤局。

使用该软件,包括所有手法。 j. 你们的法典(我猜想,一旦你重新使用社会面纱,你就拥有这一条):

First create a div with class comments :

<div class="comments"></div>

然后,用javascript做以下工作:

FB.api(
    {
    method:  fql.query ,
    query:  select text from comment where object_id in (select comments_fbid from link_stat where url ="http://developers.facebook.com/docs/reference/fql/comment/") 
    },
    function(response) {

        $.each(response, function(i, e) {
            $(".comments").append("<div class= comment >"+e.text+"</div>");
        });         

    }
);

如果您的四分级不是评论,则仅取代<代码>$(......comments),改为$(your-class)。 该法典将在你的评论部分中提出若干内容,并作出分类评论。

I m 采用j Query 编辑这些评论。

Hope it helps!

问题回答

暂无回答




相关问题
Brute-force/DoS prevention in PHP [closed]

I am trying to write a script to prevent brute-force login attempts in a website I m building. The logic goes something like this: User sends login information. Check if username and password is ...

please can anyone check this while loop and if condition

<?php $con=mysql_connect("localhost","mts","mts"); if(!con) { die( unable to connect . mysql_error()); } mysql_select_db("mts",$con); /* date_default_timezone_set ("Asia/Calcutta"); $date = ...

定值美元

如何确认来自正确来源的数字。

Generating a drop down list of timezones with PHP

Most sites need some way to show the dates on the site in the users preferred timezone. Below are two lists that I found and then one method using the built in PHP DateTime class in PHP 5. I need ...

Text as watermarking in PHP

I want to create text as a watermark for an image. the water mark should have the following properties front: Impact color: white opacity: 31% Font style: regular, bold Bevel and Emboss size: 30 ...

How does php cast boolean variables?

How does php cast boolean variables? I was trying to save a boolean value to an array: $result["Users"]["is_login"] = true; but when I use debug the is_login value is blank. and when I do ...

热门标签