facebook-comments

Facebook Graph API get all comments

。_饼干妹妹 提交于 2019-11-29 01:35:22
OK, so I've put a Facebook social plugin comments box on my site, in which i specified a Facebook Fanpage, as the comments target. Now what I want to do is get all comments that are present in the comments box on page my page. I'm using this: https://graph.facebook.com/comments/?ids=xxx In place of xxx I placed my fanpage url (displayed comments just from one day even with limit set to 10000) and when this didn't work I tried my page url, which resulted in nothing being displayed. I'm at a loss here, any help would be appreciated! The correct syntax to read comments from the Facebook Graph API

Retrieve all comments with FQL by application ID

时光总嘲笑我的痴心妄想 提交于 2019-11-28 18:44:27
We use the facebook comment plugin to have comments on our site. To moderate those, we use this tool: https://developers.facebook.com/tools/comments However, we want to build our own tool to moderate those comments, and integrate it to our existing software. I can't find a proper way of doing this. the only way I found out now after hours of research is this FQL query: select post_fbid, fromid, object_id, text, time from comment where object_id in (select comments_fbid from link_stat where url ='URL_HERE') That doesn't work because we have thousands of different URL's and I cant query each of

Responsive Facebook Comments CSS Hack Broken

自古美人都是妖i 提交于 2019-11-28 16:43:43
I was using: .fb-comments, .fb-comments span, .fb-comments iframe[style] { width: 100% !important; } To make Facebook Comments responsive on my website. This was working fine and dandy just the other day. Today I look and they have changed their code. Is it possible to get this working again? Here's a new CSS-only solution. Did this for a project I'm working on today (July 16, 2014) and it works beautifully. HTML <div class="fb-comments" data-href="http://example.com/comments" data-numposts="10" data-width="100%" data-colorscheme="light"></div> CSS .fb_iframe_widget, .fb_iframe_widget span,

How to count all of the “Likes” and “Comments” in a Facebook photo album?

纵饮孤独 提交于 2019-11-28 14:44:53
Just thought I would share the answer to the problem I had. I was looking for a way to count all the likes and comments from each of the photos in my photo album on Facebook. My photo album had thousands of likes and comments spread out over hundreds of photos so there was no way it could be done by hand. I couldn't find an existing way to do it automatically so here is my solution. After lots of experimenting with the Facebook Graph API trying to figure out how to get the info from Facebook this is the final working URL: https://graph.facebook.com/albumID/photos?fields=id,likes.summary(true)

Facebook comment moderation tool

别来无恙 提交于 2019-11-28 11:06:59
I have just added the facebook comments plugin and I am seeing a first comment of a user. But if I go to http://developers.facebook.com/tools/comments there isn't any recent comments. Any clue? You will want to make sure you've specified your Facebook App ID in the header section: <meta property="fb:app_id" content="{YOUR_APP_ID}"> This will give administrators of your application in-line access (in my experience it takes a bit to show up, possibly due to caching). Keep in mind that Facebook recommends this approach over doing an admins meta when using multiple boxes. From Facebook seen here,

Posting comment to Facebook from JavaScript

南楼画角 提交于 2019-11-28 00:19:54
I have a Facebook application, a Facebook page and a website. When someone adds a comment to my website, I retrieve the comment text from the code below. What I want to do after that is to let my Facebook application post the same comment text to my Facebook page. This is the JavaScript code I have so far on my website: window.fbAsyncInit = function() { FB.init({ appId: " . drupal_to_js($appid) . ", status: true, cookie: true, xfbml: true, channelUrl: " . drupal_to_js($channel_url) . " }); FB.Event.subscribe('comment.create', function(response) { var commentQuery = FB.Data.query('SELECT text

Failed to render Facebook comments on Android WebView via local HTML

别说谁变了你拦得住时间么 提交于 2019-11-27 18:16:32
问题 I have a simple activity that create a WebView to load Facebook Comments, e.g. protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); WebView myWebView = (WebView) findViewById(R.id.webView); WebSettings webSettings = myWebView.getSettings(); webSettings.setJavaScriptEnabled(true); // myWebView.loadUrl("http://192.168.0.2/facebook.html"); // See 1st image myWebView.loadUrl("file:///android_asset/facebook.html"); // See

Retrieve all comments with FQL by application ID

一曲冷凌霜 提交于 2019-11-27 11:47:47
问题 We use the facebook comment plugin to have comments on our site. To moderate those, we use this tool: https://developers.facebook.com/tools/comments However, we want to build our own tool to moderate those comments, and integrate it to our existing software. I can't find a proper way of doing this. the only way I found out now after hours of research is this FQL query: select post_fbid, fromid, object_id, text, time from comment where object_id in (select comments_fbid from link_stat where

Responsive Facebook Comments CSS Hack Broken

人盡茶涼 提交于 2019-11-27 09:52:34
问题 I was using: .fb-comments, .fb-comments span, .fb-comments iframe[style] { width: 100% !important; } To make Facebook Comments responsive on my website. This was working fine and dandy just the other day. Today I look and they have changed their code. Is it possible to get this working again? 回答1: Here's a new CSS-only solution. Did this for a project I'm working on today (July 16, 2014) and it works beautifully. HTML <div class="fb-comments" data-href="http://example.com/comments" data

How to list all comments in my domain

China☆狼群 提交于 2019-11-27 08:57:30
I am using the HTML5 version of Facebook Comment in my website. I have my own Facebook APP Id. Using Graph-API , and FQL (I think this is how to do it), I want to list all the Comments posted in my website. Example - Page Title1 --Comment1 --Comment2 --Comment3 Page Title2 --Comment1 --Comment2 --Comment3 Page Title3 --Comment1 --Comment2 --Comment3 etc. Please help me out. gardenofwine It is possible, in two different ways, as long as you have a fixed set of sub-pages you want to fetch comments from. If you have a large amount of sub-pages, or a variable amount, then you don't have a good