facebook-comments

Facebook Comments on your website via Graph API instead of Comments plugin?

╄→гoц情女王★ 提交于 2019-12-08 05:38:40
问题 Facebook offers the Comments Plugin for adding comments to any website: https://developers.facebook.com/docs/reference/plugins/comments/ Is it possible to GET and POST comments to your website via the Graph API? My "URL to comment on" is http://www.examplesite.com/test/ . If I use the above comments plugin to add a comment to my site, I can access all the comments at the following URL: https://graph.facebook.com/comments/?id=http://www.examplesite.com/test Now, is there a way to POST and GET

Facebook Comments Plugin Displays Mobile Width on iPad

懵懂的女人 提交于 2019-12-08 03:23:55
问题 As the title says. Here is the URL if you have an iPad - How can I remove the responsive width of the Comments Plugin for iPads? (bottom of page) http://dev.assessmentday.co.uk/aptitudetests_numerical.htm 回答1: I ran into this too. I've worked around it by manually adding the data-mobile attribute set to false if I detect this is on an iPad: <script> if (navigator.userAgent.match(/\biPad\b/)) { document.querySelector('div.fb-comments') .setAttribute('data-mobile', 'false'); } </script> This

how to avoid links to http://static.ak.facebook.com/connect/xd_arbiter.php hanging indefinitely [closed]

别来无恙 提交于 2019-12-08 02:51:40
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . We use Facebook comments and Facebook Like Buttons on our site. These somehow generate a call to http://static.ak.facebook.com/connect/xd_arbiter.php which never loads, leaving the impression that the page isn't loading. Is there a way to avoid having this script called? 回答1: Two ways, write to Facebook and

How to implement facebook comment plugin in Android

ぃ、小莉子 提交于 2019-12-07 16:48:51
问题 How to implement Facebook comments plugin in Android, which allows users to post comments to their wall as shown in the image given below ? 回答1: 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

How to best move fb-comments from http to https

扶醉桌前 提交于 2019-12-07 05:46:15
问题 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

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

瘦欲@ 提交于 2019-12-07 05:17:08
问题 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)

Facebook Comments Plugin Displays Mobile Width on iPad

和自甴很熟 提交于 2019-12-06 13:48:25
As the title says. Here is the URL if you have an iPad - How can I remove the responsive width of the Comments Plugin for iPads? (bottom of page) http://dev.assessmentday.co.uk/aptitudetests_numerical.htm I ran into this too. I've worked around it by manually adding the data-mobile attribute set to false if I detect this is on an iPad: <script> if (navigator.userAgent.match(/\biPad\b/)) { document.querySelector('div.fb-comments') .setAttribute('data-mobile', 'false'); } </script> This could be improved to handle other tablets as well, but the best way to do that depends on how Facebook auto

Updating facebook comments plugin link without reloading page

ε祈祈猫儿з 提交于 2019-12-06 06:44:39
This displays the comments from that http://domain.com/some/abc <fb:comments href="http://domain.com/some/abc" num_posts="20" width="500"></fb:comments> <div id="fb-root"></div> <script type="text/javascript"> (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.net/en_US/all.js#xfbml=1&appId=1234567890"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); </script> If the user changes a value in the form from abc to xyz, I need the comment plugin to

Unable to load full Facebook comment plugins inside an iOS UIWebView

不想你离开。 提交于 2019-12-06 05:57:58
问题 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,

Facebook Comments Mirroring doesn't work

泪湿孤枕 提交于 2019-12-06 04:45:01
Step by step i did these Create a new Facebook App (App ID: 544557495732050) Create a new Facebook Page ( https://www.facebook.com/Pasha-electronic-502844156580479/ ) In App which created by step 1 check yes (Yes, mirror to page - which created on step 2) https://developers.facebook.com/tools/comments Create a new web page (which include javascript src and div tag) http://pasha-k.az/ramin/test.html Share this link on Facebook Page which created by step 2 https://www.facebook.com/Pasha-electronic-502844156580479/ ) Problem: I see different comments. Comment mirroring does not work. Checklist :