I'm creating a simple and fast website, and I'm trying to optimize the site as much as I can. I noticed that social media buttons are slowing down the website by quite a lot. I'm including the Facebook Like Button, Twitter Button and Goog...
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 pa...
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,...
So, Ive read through similar things but I still can't find an answer that applies more closely to what I'm doing. I am attempting to use JS to get the current page URL and append it to a social media sharing link like this: <a href="h...
I know you can use the defer="" html attribute to defer javascript files, but it's only supported in IE (lol) and that will only defer javascript files, I need to defer the entire plugin from loading. Is there any way to do this, at all?...
I have a rails 4 app and I want to use the Facebook social plugin for comments. I have this code: in show.html.erb I have <div class="fb-comments" data-href="my site name" data-numposts="5" data-colorscheme="light...
I want to use the facebook like button for a facebook fan page, but with a callback function. So far I've only managed to get the callback function to work with a facebook app with the following code- <script src="http://connect.facebook...
This question might be somewhat open ended. How would I go about switching from using FBML in my application to using the Javascript SDK and Social Plugins. Im dealing with a massive application so it's hard to tell how FBML was implemented an...
I've decided against embedding my share buttons with an iFrame. This is to reduce the load time. I am using this method instead: <!-- Facebook --> <a href="http://www.facebook.com/sharer.php?u=http://www.mywebsite.co.uk" target=...
FB.Event.subscribe('edge.create', function(response) { alert ('liked!') } ); How do I check the reverse action?...
©2020 All rights reserved.