在facebook中添加此标记我们可以收到评论,回复并可以回复:
string allwords = "This is a test this is a test aaaaaaaaaaa this is a test ";
string[] c = allwords.Split();
bool moreThanten = false;
foreach (string v in c)
if (v.Length > 10)
moreThanten = true;
Console.WriteLine(moreThanten == false ? allwords : "Woahh there one of these words is more than 10 chars");
YouTube上有什么简单的Facebook评论插件吗?我们可以通过js获得评论但是对于聊天环境我们必须集中每一个细节:
<div class="fb-comments" data-href="{url}" data-version="v2.3"></div>