简体   繁体   English

Facebook 社交插件:如何为 Facebook 评论框中的“查看更多”评论添加事件处理程序?

[英]Facebook Social Plugin: How do I add an event handler for “View More” comments on the Facebook comment box?

I have a Facebook app that has the Facebook Comments box embedded on it.我有一个 Facebook 应用程序,上面嵌入了 Facebook 评论框。

I want to know if there is any way to add a callback that gets fired when I click the "View xx More" comments at the bottom of the comments list.我想知道是否有任何方法可以添加当我单击评论列表底部的“查看 xx 更多”评论时触发的回调。 I want to trigger a custom block of code when users click on the "View xx More".我想在用户单击“查看 xx 更多”时触发自定义代码块。

Similar to the block of code below for the Event - comment.create , I want to fire a callback when a user clicks on the more comments link.类似于下面的Event - comment.create代码块Event - comment.create ,我想在用户单击更多评论链接时触发回调。

FB.Event.subscribe('comment.create', function (response) {
    ntptEventTag('ev=FbComment');
if($("#facebookcomments .fb_ltr").length) $("#facebookcomments .fb_ltr").blur();
});

As far as I can see, from the Facebook Javascript SDK page , it only has events like "user like", "user unlike", "post comment", and "remove comment".据我所知,从Facebook Javascript SDK 页面,它只有“用户喜欢”、“用户不喜欢”、“发表评论”和“删除评论”等事件。

Any help or information would be highly appreciated!任何帮助或信息将不胜感激!

Is there any event handler for “View More” comments on the Facebook comment box ? Facebook 评论框上是否有“查看更多”评论的事件处理程序?

No

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 通过Facebook评论登录社交插件不会触发事件? - Login via Facebook comments social plugin does not trigger an event? 首次添加facebook社交插件(评论框) - First time to add facebook social plugins ( comment box ) Facebook评论盒插件的替代品? - Alternative to the Facebook Comment Box Plugin? 如何在窗口调整大小时调整带有角度的Facebook插件注释(fb-comments)的大小? - How do you re-size Facebook plugin comment (fb-comments) with angular on window resize? 如何使用javascript按钮预填充Facebook评论框其他社交评论框 - How to pre-populate Facebook Comment box other social comment box using a javascript button Facebook评论(Facebook社交插件)只有在我刷新rails 4应用程序页面后加载 - facebook comments (Facebook social plugin) load only after I refresh the page in rails 4 app 我可以在运行时更改Facebook评论框插件上的字体吗 - Can i change font on facebook comment box plugin at run time 更改Facebook Comments Social Plugin的字体大小–页面上的评论数 - Change font size for Facebook Comments Social Plugin – Number of Comments on page Facebook Comments Social Plugin-问题保存/访问当前URL的评论 - Facebook Comments Social Plugin - Problems Saving / Accessing comments for current URL Facebook评论插件-如何登录 - Facebook comments plugin - How to login
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM