facebook-comments

Facebook Social Plugin Comments not shown when directly linked to?

冷暖自知 提交于 2019-12-13 01:06:05
问题 I just set up Facebook social plugin comments on my site, but I'm having a little trouble with them. When I get a notification saying that someone commented on something I commented on, if I click on that link I see no comments, but if I reload the page without the ?fb_comment_id=... then I can see the comments. For instance: http://www.5crideshare.jessepollak.me/rides/17?fb_comment_id=fbc_10150513336718064_21937866_10150513339773064&ref=notif&notif_t=open_graph_comment#f82002554 shows no

Updating facebook comments plugin link without reloading page

六眼飞鱼酱① 提交于 2019-12-12 10:11:15
问题 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

Why is there excessive whitespace with Facebook mobile comments plugin?

烂漫一生 提交于 2019-12-12 09:22:19
问题 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

How to get the image from a facebook photo comment?

我怕爱的太早我们不能终老 提交于 2019-12-12 01:23:40
问题 Either API or FQL, I am trying to get the photo submitted as comment in a photo post. To make clearer here is what I am saying I post a photo on my page timeline. people now post comments on the said photo either text comment or attaching photo in each comment. Now, what I am getting is the comment information only. I want to get the information about the photo used in comment also. Thanks. 回答1: The picture (in the comment ) could be fetched with the attachment parameter. By default, you did

FB Comments Plugin - Detect comment on page

守給你的承諾、 提交于 2019-12-11 19:23:55
问题 How can I detect when a comment is made on my page with the Comments Plugin? I'm currently using the Facebook PHP SDK, reading the Facebook documentation it says I need the JS SDK, but it's not really clear on how you accomplish what I want to do. 回答1: I guess it's straight forward: <div id="fb-root"></div> <script> window.fbAsyncInit = function() { FB.init({ appId : 'YOUR_APP_ID', // App ID channelURL : '//WWW.YOUR_DOMAIN.COM/channel.html', // Channel File status : true, // check login

Android post picture to Facebook public page wall

冷暖自知 提交于 2019-12-11 16:51:57
问题 I'm currently able to post to a public page wall using: JSONObject json = new JSONObject(); json.put("message", "I'm on your wall"); Request req = Request.newPostRequest(getSession(), "PowerCardSoftware/feed", GraphObject.Factory.create(json), new Callback() { @Override public void onCompleted(Response response) { if(response.getError() != null) Log.e("FRAGACTIVITY", response.getError().toString()); Toast.makeText(getBaseContext(), "I hacked your facebook!", Toast.LENGTH_SHORT).show(); } });

Facebook Comments, can't get moderator status

五迷三道 提交于 2019-12-11 14:28:37
问题 I've got a facebook iframe page with the following (cut out irrelevant) code. I can't seem to become moderator of the comments. Any idea where i messed up? (debugging link: https://developers.facebook.com/tools/debug/og/object?q=brandpreview.nl%2Ffbkerst%2Fwhitewishingboard.php) <html xmlns:fb="http://ogp.me/ns/fb#"> <head> <meta property="fb:admins" content="737418775" /> <meta property="fb:app_id" content="240672092656980"/> </head> <body> <script> window.fbAsyncInit = function() { FB.init(

Add MetaTags Using JavaScript

浪尽此生 提交于 2019-12-11 14:06:26
问题 I have a website http://gornany.org/home/GammaGallery/1390?id=0 i want to show the image on Facebook profile which the user write a comment about, i want to change this code using JavaScript <meta property="og:image" content="" /> i tried a lot of things like $("meta[property='og\\\\\\\\:image']").attr("content",""); $('meta[property="og:image"]').attr('content',"" ); but nothing work Any help? 回答1: I dont think you can do that. Javascript is a client-side language so when Facebook reads the

User-based Management of Facebook Comment Plugin

余生颓废 提交于 2019-12-11 09:27:22
问题 I would like to implement facebook comment plugin into a website. This website consists of users with facebook id numbers. I want that, every user can manage the comments in their profile pages. In Facebook comment plugin, I found that, adding <meta property="fb:admins" content="{YOUR_FACEBOOK_USER_ID}"/> leads the specified user can manage the comments. So, could it be a problem if I set this user id dynamically? Thanks in advance 来源: https://stackoverflow.com/questions/8326544/user-based

Enable Facebook comments on site without a Facebook app / app ID?

筅森魡賤 提交于 2019-12-11 08:43:25
问题 From what I can read om Facebook Dev Docs this is how I add the comment box on my web site: //In HTML Header <script> window.fbAsyncInit = function() { FB.init({ appId : 'xxxxxxxxxxxxxxxx', // App ID status : true, // check login status cookie : true, // enable cookies to allow the server to access the session xfbml : true // parse XFBML }); // Additional initialization code here }; // Load the SDK Asynchronously (function(d){ var js, id = 'facebook-jssdk'; if (d.getElementById(id)) {return;}