I want to add a share button to my website but notice I have two similar options:
Are they different and how could I show a share button for the dialog option?
Also, for the button code it says HTML5/data-href "defaults to the current URL" which I want, so would I simply delete data-href from the button code or just leave the URL empty?
Share Button
Social Plugin that comes with a predefined button, you cannot change the appearance. Simple to include.
Share Dialog
Use your own button/link/whatever and call FB.ui
to open the Dialog.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.