-
Want to use customize fb share button
over 9 years ago
-
over 9 years ago
It seems that you are trying to share your local web page that hosted on your local server.
You have to first move it to live server to share your web page so other user can view your web page while clicking on the shared post.
example- according to your code:
<div class="fb-share-button" data-href="http://localhost/fb_share/index.php" data-layout="button_count"></div>
so as per my understanding your code should be like this
<div class="fb-share-button" data-href="http://www.yourwebsitename.com/fb_share/index.php" data-layout="button_count"></div>
and also update your meta tag url.
Please use _ in place of #95;
-
-
over 9 years ago
Welcome to Findnerd. You want to share the specific content of the page. It can be done using different meta tags like title,description etc. Kindly check the link for more details. https://developers.facebook.com/docs/sharing/best-practices
One of the big issue in facebook share is caching. You need to check your link in below link to remove the cache issue.
https://developers.facebook.com/tools/debug/
Thank you Deepak Verma
-
2 Answer(s)