Where can be found in the script Share facebook.
I could inform the facebook page of my products.
Thanks.
Where can be found in the script Share facebook. Thanks. |
is here somebody who know where i can get this? |
Anybody know any? |
Anybody? Please |
Where can be found in the script Share facebook.I could inform the facebook page of my products.
Explain better what it is that you want to do... Look here to read: https://developers.facebook.com/docs/plugins/share-button/
|
Where can be found in the script Share facebook.I could inform the facebook page of my products.
Explain better what it is that you want to do... Look here to read: https://developers.facebook.com/docs/plugins/share-button/
I have a sales pages, and I want to share these pages with Facebook. Include the JavaScript SDK on your page once, ideally right after the opening
<body> tag.<div id="fb-root"></div>
<script>(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/fi_FI/all.js#xfbml=1&appId=774310692581891";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
Place the code for your plugin wherever you want the plugin to appear on your page.
<div class="fb-share-button" data-href="https://developers.facebook.com/docs/plugins/" data-width="400" data-type="button"></div>
so where those codes need to put when I want to share button look photo
|
all i did was add a new html block |
@DarkWarder, you can add the facebook sdk code in your template's footer file. Then you can add a html block and paste the plugin code there i.e. <div class="fb-share-button" data-href="https://developers.facebook.com/docs/plugins/" data-width="400" data-type="button"></div> Facebook, Twitter & Instagram Combo - http://bit.ly/1h5CarP |
@DarkWarder, you can add the facebook sdk code in your template's footer file. Then you can add a html block and paste the plugin code there i.e. <div class="fb-share-button" data-href="https://developers.facebook.com/docs/plugins/" data-width="400" data-type="button"></div> i.e? |
i.e?
You can paste the 'div' code in the html block... Facebook, Twitter & Instagram Combo - http://bit.ly/1h5CarP |
I get this message now Parse error: syntax error, unexpected '<' in /home/deann/public_html/inc/classes/BxDolPageView.php(698) :
and whether this ---> <div class="fb-share-button" data-href="https://developers.facebook.com/docs/plugins/" data-width="400" data-type="button"></div>
page builder or where that html block or can i put that daenos tools? i see daenos tools can put only php block
|
page builder or where that html block or can i put that daenos tools? i see daenos tools can put only php block
PHP block is even better, then you won't get those parsing errors... echo 'plugin_code'; Facebook, Twitter & Instagram Combo - http://bit.ly/1h5CarP |
He is getting the parsing error because he put straight html into a php block. https://www.deanbassett.com |
@deano - slightly off topic, but was wondering. WHen I use:
?> I get an error, but when I use:
?>
then everything works. Any idea why? caredesign.net |
@deano - slightly off topic, but was wondering. WHen I use:
?> I get an error, but when I use:
?>
then everything works. Any idea why? https://www.deanbassett.com |
I get an error:
EDIT: this is what I have on BxDolPageView:
caredesign.net |
Unknown. I cannot replicate the problem on my server. https://www.deanbassett.com |
no biggie - I was just curious caredesign.net |
@deano - slightly off topic, but was wondering. WHen I use:
?> I get an error, but when I use:
?>
then everything works. Any idea why? Okay i do that and no error or anything else but there is no that share button |
did you drag the block to the Active area in the Page Builder for that page? caredesign.net |
did you drag the block to the Active area in the Page Builder for that page? Yes that is Active |
should be such that what goes into the ad so you can share it on facebook. My site is where people can put they own product sell and that share facebook but not work, so what script is right? Because no that script do this http://myyntinurkka.com/sharee.jpg and this is script what i get <div id="fb-root"></div> so what is right script so can share facebook? Thanks |
When you got the button code. you did not change the URL to share to the URL of the page you want to share. Change what is in red to the proper url like the one you were trying to share in your photo which is. http://myyntinurkka.com/ads/entry/Yamaha-Agustinen-kitara https://www.deanbassett.com |
For code that will work on any page so it automatically figures out the url for you then use this code in a php block instead. https://www.deanbassett.com |
For code that will work on any page so it automatically figures out the url for you then use this code in a php block instead. Thanks deano that work but there is no that ad photo |
I went to that page on your site, clicked the share button, and it picked up the photo just fine. https://www.deanbassett.com |
Yes now work earlie coming this Myyntinurkka.con logo photo but now works fine Thanks deano I appreciate your help very much |
Yes now work earlisr coming this Myyntinurkka.con logo photo but now works fine Thanks deano I appreciate your help very much That happens sometimes. Facebook looks at the page and will pick a photo from it. Usually the largest one. Facebook likes large photos. The bigger, the better. FB wants photos that are 1200x630 at least. https://www.deanbassett.com |