How to setup facebook share to unlock with dreamweaver?

1 replies
  • WEB DESIGN
  • |
I've thought something like putting an image over a part of site and on image is a message something like " share to see more" and facebook share button.
I've searched for a while but haven't found anything...

Do you have a link to some tutorial or if you actually know how to make this happen please share it here.
#dreamweaver #facebook #setup #share #unlock
  • Profile picture of the author jsam757
    Here is the logic for facebook share button
    <div class="m-t-sm m-r-sm" style="margin-top: 18px;">
    <!-- Load Facebook SDK for JavaScript -->
    <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/en_GB/sdk.js#xfbml=1&version=v2.5";
    fjs.parentNode.insertBefore(js, fjs);
    }(document, 'script', 'facebook-jssdk'));</script>

    <div class="fb-share-button" data-href="<?php echo $_SERVER['REQUEST_URI']; ?>" data-layout="button_count"></div>
    </div>
    {{ DiscussionBoard.errors[11155313].message }}

Trending Topics