facebook-social-plugins

Social Plugins for Facebook Photos and Albums

好久不见. 提交于 2020-01-02 10:26:27
问题 Is it possible to use Social Plugins such as the Comments and Like plugins to display the comments and likes for a photo or album uploaded to Facebook? I have tried various URLs for the HREF attribute (the photo source, the photo page, the graph URL, etc) and cannot get the plugin to display existing comments against the photo. Can someone suggest the correct URL (if any) that I should use? I can get access to the list of comments using the graph API, however I would prefer to make use of the

getting notification when someone comments using comments plugin

北慕城南 提交于 2020-01-01 16:11:07
问题 So I have an iFrame app on a fan page, which includes the comments plugin. Is there a way I/any admin can receive a notification or email every time someone adds a comment? 回答1: You can subscribe to comment.create event and send the notification to admin in any way you prefer, once comment is created. Facebook itself doesn't provide such functionality. This may looks like this (I assume Facebook JavaScript SDK is already loaded on page before doing this, read about it in documentation on

How to put multiple Facebook Like buttons with counter on same page

╄→尐↘猪︶ㄣ 提交于 2019-12-31 21:33:49
问题 I have one page with multiple news items. Every item in the list must have own facebook Like button with count. Is it possible to put multiple Like buttons with count for each news on same page? 回答1: Each like button code will have to have it's own unique url. refer to: http://developers.facebook.com/docs/reference/plugins/like/ I use php to achieve this, by pulling all relative urls needed from a database, looping them and writing return to the data-href param in the html5 like button code.

Facebook don't display correct thumbnail

时光毁灭记忆、已成空白 提交于 2019-12-24 23:09:05
问题 The problem is about the imageIi would to display when share content with social share button. If I set the correct meta og tag, when I click the button, the contains I would to share is incorrect, from the thumbnail to the text. This is the code I use in the website: condividi su facebook What I do not understand is why the same code works on some pages and not others. 来源: https://stackoverflow.com/questions/22345652/facebook-dont-display-correct-thumbnail

Facebook FB.Event.subscribe “bug” with the edge.create callback

半城伤御伤魂 提交于 2019-12-24 09:37:26
问题 Im fancing a really weird problem with the edge.create callback. What im doing is to execute an ajax call to the server each time an edge.create or edge.remove event occurs (the firs is to like and the second to unlike a page). Heres the code // this will fire when any of the like widgets are "liked" by the user FB.Event.subscribe('edge.create', function(href, widget) { var dataSend = 'ajaxFace=true&submitAdd=true&code='+SomeCodeToAdd; $.ajax({ type: 'POST', url: 'http://somewebpage.com',

FB.getLoginStatus inside edge.create callback is returning unknown status and null session after logging in from the popup

送分小仙女□ 提交于 2019-12-24 03:49:33
问题 Has anybody tested the scenario below? 1- Log out of Facebook 2- Go to page that has the like button 3- Click like then log in to Facebook from the popup window I am subscribed to edge.create and calling FB.getLoginStatus(function(response) { }); in order to make sure the user is logged in when the like button is clicked. When the like button is clicked, response status is unknown and session is null which is not what I'm expecting there. FB.Event.subscribe('edge.create', function(href) { FB

Facebook Share Dialog image doesn't show

谁说胖子不能爱 提交于 2019-12-24 00:16:09
问题 I'm using the Facebook Share Dialog (https://developers.facebook.com/docs/reference/plugins/share-links/) and the image doesn't appear. I've checked a lot of posts here in SO an other forums but couldn't find a solution I found this site where Share Dialog works correctly: http://election.gv.my/ (They don't use meta property="og:image") https://www.facebook.com/sharer/sharer.php?s=100&p[url]=http%3A%2F%2Felection.gv.my%2F&p[images][0]=http%3A%2F%2Felection.gv.my%2Fassets%2Fcombined.jpg&p

facebook like button comment box won't close on submit, and doesn't post anything

早过忘川 提交于 2019-12-23 17:24:31
问题 Trying to integrate a facebook social like button plugin with the comment box. The like/unlike function works fine, and it reflects properly in my activity log on Facebook. However, once I type in a comment in the comment box and click "post to facebook", nothing happens! The comment box won't close when I submit, and it doesn't publish anything in the timeline. I can see the post request in Firefox debugger. Facebook debugger doesn't report any errors on the page, and extracts the meta tags.

Meteor- Facebook social plugin cant load until browser refreshes

≡放荡痞女 提交于 2019-12-23 05:15:49
问题 i'm having an issue with Facebook social plugins. The like & comment box in my website only appears after refreshing the browser. Does anyone know why is this happening and how i can fix it? I'm using Meteor to build my website and the page, where the social plugins are placed, are only accessible after the user is logged in. Thank you very much! :) The test website is www.sgeasyaidtest.meteor.com and the social plugins are under the planner page. This is the script for FB login & social

Facebook social plugin on android

被刻印的时光 ゝ 提交于 2019-12-22 18:29:08
问题 I would like to integrate Facebook's comment social plugin ( https://developers.facebook.com/docs/reference/plugins/comments/ to comment on url) into my android application. I tried to use webview (use this answer Android unable to implement facebook comment in a webview due to default browser ) and it's work, but hard to customize, for example: I want to have a bigger Textbox for user to type the comment. My question is: "is there any solution to integrate something like "Facebook's comment