facebook-social-plugins

Facebook Like button - fetches “wrong” image [duplicate]

蓝咒 提交于 2019-12-04 09:57:22
Possible Duplicate: How does Facebook Sharer select Images? I'm using the following code to add a Facebook like button to my site: <iframe src="http://www.facebook.com/plugins/like.php?href=XXXXXXXX&send=false&layout=button_count&width=50&show_faces=false&action=like&colorscheme=light&font&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:50px; height:21px;" allowTransparency="true"></iframe> When I later look at my wall I can see the post that I've just liked. But it shows a gui-widget (from the sites grafik) not any other "valid" images. Is it possible to

How do you get the total likes for a URL (Likes and Shares)?

我怕爱的太早我们不能终老 提交于 2019-12-03 20:31:28
问题 The "Likes" plugin that I've dropped on my page displays both the number of times the button has been directly clicked, as well as the number of times the page URL has been shared or the Like has been commented on. When I use the Graph API to check out my object though, it only shows the number of direct "Like" clicks. Here is an example object: { "id": "17678692xxxxxxx", "name": "The Dali Lama Returns", "picture": "http://profile.ak.fbcdn.net/hprofile-ak-snc4/161984_176786925772923

Is it possible to use Facebooks Comments Plugin with Graph Object IDs/Graph URLs rather than www URLs?

坚强是说给别人听的谎言 提交于 2019-12-03 19:30:54
问题 A little while ago, I built this: http://www.littlebray.co.uk/photos.aspx It's kind of an off-Facebook partial replica of a Facebook photo album gallery, the photos in the gallery section are all pulled from Facebook albums on the Page for Little Bray (fb.com/littlebray) enlarging them gives you a kinda full screen view of them with commenting facilties on the right margin, just like Facebook. You'll notice that, whilst this comment section looks a bit like a Facebook plugin, it isn't, and

Facebook apprequests not working

青春壹個敷衍的年華 提交于 2019-12-03 17:15:29
I have following code in html file: <html> <head> <title>My Great Website</title> </head> <body> <div id="fb-root"></div> <script src="http://connect.facebook.net/en_US/all.js"> </script> <script> FB.init({ appId:'156154681125939', cookie:true, status:true, xfbml:true }); FB.ui({ method: 'apprequests', message: 'Here is a new Requests dialog...'}); </script> </body> </html> I am using this code to send apprequests for my app (reference: http://developers.facebook.com/blog/post/464/ ) Problem: I am able to load Request dialogue by above code, and it shows my friend list. Also I can send invited

FB Like button shows up only once - on first load of my AngularJS view

假如想象 提交于 2019-12-03 15:09:55
I am trying to place the FB like button on my single page site built on Angular JS. The like button has to be displayed on a view (different than the index.html) displayed by a controller. But the like button shows up only for the first time I load that particular view. The button do not show up if I come back after visiting another view. Below is the code which loads FB SDK in the controller for the view - (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

comments plugin moderation tool not working

孤街醉人 提交于 2019-12-02 20:27:44
I'm trying to set up the Facebook comments social plugin. The plugin will be set up so that each product page on our site will have a comments plugin with a unique URL. I want to be able to moderate all the comments together, which should be able to be done with the comments moderator tool on Facebook. I can put the social plugin on the page with it linked to the respective app ID, but I don't see any comments appear on the moderation tool at: https://developers.facebook.com/tools/comments The code on the page is this: <div id="fb-root"></div> <script type="text/javascript" language=

Facebook like button updates the value for every 1,000 'likes'. Can it update on every 'like'?

与世无争的帅哥 提交于 2019-12-02 16:19:36
问题 I guess you realised that, when on a website, you click on the 'like' button -with counter- it normally updates one like by one like in the first ones. Until it reaches 1000 'likes', then it starts updating every 1000 'likes'. So you could se: 0 likes 1 like 2 likes .. .. 100 likes .. .. 999 likes 1000 likes (then it's not updated onclick until) 2000 likes (then it's not updated onclick until) 3000 likes (then it's not updated onclick until) ... Is there a way to update the value on every

Facepile iframe is white when the viewer is not logged in to Facebook

心已入冬 提交于 2019-12-01 22:04:59
I'm using the Facepile plugin on a dark background, which is supposedly supported behavior, but when the viewer is not logged in to Facebook, the Facepile iframe just becomes a white rectangle. It would look fine on a white background, but looks horrible on a dark one. Everything looks fine if the user is logged in to Facebook. If the viewer has friends that have liked the site, they show up with the dark background showing up behind them. If the viewer has no friends that like the site, the facepile iframe is a transparent rectangle, which looks fine. It's just broken when the viewer is not

How to dynamically change facebook comments plugin url based on javascript variable?

徘徊边缘 提交于 2019-12-01 16:33:41
问题 I want to dynamically change the data-href for the fb comments plugin below based on a javascript variable. I'm running a flash swf file and am passing the new link for data-href into the html wrapper via a javascript function. When I do that, I want the fb comments plugin to refresh to the new data-href link. <div style="float: left; padding-left:5px; min-height:500px" class="fb-comments" data-href="www.example.com" data-num-posts="20" data-width="380"></div> Called javascript function

Get FB likes, shares and comments for a URL using PHP - with no limit [closed]

 ̄綄美尐妖づ 提交于 2019-12-01 12:42:05
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 3 years ago . How can I simple get count of likes, shares and comments from a URL using PHP? The method using FQL or graph.facebook.com didnt work anymore. I need also about 1000 requests per day, I need solution with request limit more then 1000. 回答1: I think that FQL became deceprated by the