facebook-comments

Using social plugins for pre-existing Facebook posts

半腔热情 提交于 2019-12-06 04:12:33
If there a way to use the Facebook Feed, Comments, and Like social plugins for existing Facebook posts? We're looking for a way to have pages on our site supplementing existing Facebook posts made on our FB page. The goal is to keep all sharing, comments, and likes centralized around single post, rather than the usual model where each person shares a distinct post on their feed. Example post from McDonalds: http://www.facebook.com/photo.php?fbid=10151001277817014&set=a.10150319191897014.332821.50245567013&type=1 Ideally, we'd like to pull in the functionality of the above post (commenting,

How to implement facebook comment plugin in Android

送分小仙女□ 提交于 2019-12-05 21:06:36
How to implement Facebook comments plugin in Android, which allows users to post comments to their wall as shown in the image given below ? noobie artist maybe this is not what you looking for but i found few ideas that you could start rolling from like there is a Graph API Facebook social plugin on android or in a WebView Android unable to implement facebook comment in a webview due to default browser Edit: Should work if you set proper domain and path that already has comments. Haven't checked how it will if original path doesn't have comments package com.example.ff; import android

How to show facebook comments “Add comment” field by default

喜你入骨 提交于 2019-12-05 11:44:48
I'm using facebook commenting plugin for my website and I came across one small problem. When a certain number of comments are made, the "Add comment" field disappears and user has to click on add comment link to show it. This one: I want to know if there is a way to always show "Add comment" field no matter how many comments are there. So it looks like this: EDIT: Here is my facebook-comments code <div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook

How to best move fb-comments from http to https

浪子不回头ぞ 提交于 2019-12-05 10:10:21
We are in the process of moving a Ruby On Rails website from HTTP to HTTPS. Our sites uses the fb-comments plugin to capture user comments on various pages. During our testing we found when we switch a page from HTTP to HTTPS Facebook seems to see this as a new page and no longer loads any of the previous comments for the page. In other words, http://my.domain.com/page1 and https://my.domain.com/page1 are treated as separate pages with different sets of comments by fb-comments . Here's a snippet of our HTML that includes the current call to fb-comments : <div class="fb-comments" data-href="<%

Post new comment to a Status via API

徘徊边缘 提交于 2019-12-05 06:34:13
问题 I'm having a status_id and try to post a new comment to: POST https://graph.facebook.com/STATUS_ID/comments {message: "text" } I get the result { "error": { "message": "(#200) Cannot access object_id: 10150593515092107", "type": "OAuthException", "code": 200 } } I can do the same POST for /likes and it works. If I add a comment to a Photo it also works. I can then use the object_id of a photo but no such field exists on a status. 回答1: After two days of struggle i found the answer, at least

Why is there excessive whitespace with Facebook mobile comments plugin?

北城以北 提交于 2019-12-04 20:05:50
I have been struggling with why the Facebook comments module on some of our pages have excessive whitespace on them when the pages are viewed with a mobile browser. After debugging for hours, I'm now singled out the specific code and it still repros. I initially thought it was due to Twitter Bootstrap but I've compared it with and without it, and the same bug occurs. Compare this one that has bootstrap: http://jsfiddle.net/trevin/uW8fz/ and this one which does not: http://jsfiddle.net/trevin/uW8fz/ Both exhibit the same problem. If you are not signed in, you'll see like 200px of whitespace

Moderate/Hide a Facebook Comment using Graph API?

送分小仙女□ 提交于 2019-12-04 18:02:55
We are using the Graph API to read the comments appearing on a Page (e.g. the comments on http://facebook.com/Nike are accessible by crawling https://graph.facebook.com/Nike/posts&access_token=my_access_token ). Question: I see an HTTP DELETE can be used to delete a comment; is there an API to moderate it (e.g. mark it as is_private , something reversible)? Unfortunately its not possible at this time :( http://developers.facebook.com/bugs/439078329445665?browse=search_506da06b6babc7479209814 By now it is possible to hide facebook comments. The can_hide field will show you if you (e.g. the user

How can I moderate Facebook comments posted in my website?

﹥>﹥吖頭↗ 提交于 2019-12-04 14:44:08
问题 In meta I added <meta property="fb:admins" content="myID"/> <meta property="fb:moderator" content="myID" /> I tried with both and individual code block <div id="fb-root"></div> <script>(function(d){ var js, id = 'facebook-jssdk'; if (d.getElementById(id)) {return;} js = d.createElement('script'); js.id = id; js.async = true; js.src = "//connect.facebook.net/en_US/all.js#xfbml=1"; d.getElementsByTagName('head')[0].appendChild(js); }(document));</script> <fb:comments href="<?php echo $currPage;

Unable to load full Facebook comment plugins inside an iOS UIWebView

可紊 提交于 2019-12-04 11:13:59
I have a simple ViewController to load FB comments plugins inside a UIWebView @implementation ViewController - (void)viewDidLoad { [super viewDidLoad]; UIWebView * webView = [[UIWebView alloc] initWithFrame:CGRectMake(0, 0, 320.0f, 1505.0f)]; NSString * html = @"\ <!DOCTYPE html>\ <html xmlns:fb='http://ogp.me/ns/fb#'>\ <head>\ <meta name='viewport' content='width=device-width, initial-scale=1.0'>\ </head>\ <body style='background-color:red;'>\ \ <div id='fb-root'></div>\ <script>(function(d, s, id) {\ var js, fjs = d.getElementsByTagName(s)[0];\ if (d.getElementById(id)) return;\ js = d

Adding Facebook plugin comments for dynamic products

白昼怎懂夜的黑 提交于 2019-12-04 09:35:08
问题 I installed facebook comments on my website. My website is a dynamic website and pages are like this www.example.com/page?id=54, www.example.com/page?id=67. If I post a comment in this page: www.site.com/page?id=54, it also appears in www.example.com/page?id=67. The comments are not unique for a page, but appear in every page i saw the question : Facebook comments, for each page. The answer in this question is that the problem is because of the "?" sign. It seems that "?" sign in the URL make