Announcement

Collapse
No announcement yet.

facebook share button

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Pardeep Bagga
    replied
    any one who knows how to get this ?

    Leave a comment:


  • Pardeep Bagga
    replied
    here is add facebook button http://www.fropki.info/forum/fropki-...s-viral-on-net

    and i want the main topic url to be liked and shared at every page like (http://www.fropki.info/forum/fropki-...l-on-net/page2)
    Last edited by Pardeep Bagga; Thu 28 Apr '16, 9:38pm.

    Leave a comment:


  • Glenn Vergara
    replied
    Try this:

    Code:
    data-href="//{vb:raw $_SERVER['HTTP_HOST']}{vb:var $_SERVER['REQUEST_URI']}"

    Leave a comment:


  • Glenn Vergara
    replied
    How/where exactly are you adding the Facebook div tag to the first post?

    Leave a comment:


  • Pardeep Bagga
    started a topic facebook share button

    facebook share button

    hello i am trying to add facebook share button just after the first post using following code

    <div class="fb-like" data-href="https://developers.facebook.com/docs/plugins/" data-layout="standard" data-action="like" data-show-faces="false" data-share="true"></div>

    how could i replace the data-href link with default/main topic link

    can i use this
    <div class="fb-like" data-href="{vb:url}" data-layout="standard" data-action="like" data-show-faces="false" data-share="true"></div>

Related Topics

Collapse

Working...
X