Today i’m going to share with my wapka readers, how to add Facebook sharer code to their wapsites.
I have heard alot of complaints from wapka users that their current fb sharer code for wapka does not work, if you are facing this too don’t worry in this article, i’m going to treat that- Facebook sharer code that tag first image in forum, follow below.
Now lets begin, first login your wapka Admin Mode, in your Message in forum first box, Replace ::msg:: with the code below
Now paste this code below your Message in forum 1st box.
Now after that, Paste the below code in your forum footer/bottom autocontent.
txt=document.getElementsByName(‘dpro’)[0].innerHTML;
description=txt.replace(/n/ig,”).replace(//gm, ”);
description=description.substr(0,60);
if(txt.match(/[img]/ig)){
picture=txt.split(/EXAMPLE.COM/ig)[0];
} else {
picture=’://i.imgsafe.org/3d9f76f.jpg’;
}
title=document.title;
document.getElementsByName(‘fb_share’)[0].innerHTML=’ Facebook ‘;
.share-btn.facebook {background: #3A5090; }
.share-btn.facebook:before{ background: url(“http://djiqbal.mywapblog.com/files/fb.png”) no-repeat;background-size: 30px 30px; content:” “; width: 30px; height: 30px; display: inline-block; margin-top: -30px; margin-bottom: -10px;margin-left: -12px}
.share-btn {display: inline-block; color: #ffffff; border: none; box-shadow: 0 2px 0 0 rgba(0,0,0,0.2); padding-bottom: px; padding-top: px; padding-left: px ;position: relative; padding-right: 4px;font-weight:bold;font-style: none!important;white-space: nowrap; overflow:hidden !important;text-overflow: ellipsis;}
NOTE: Change all Example.com in the above code to your sitename.com.
Now your fb sharer code should be working perfectly well now, drop your comments below or if you encounter any problem, let me know.
Recommended: How To Remove Underline From Below Links In Wapka PC View & Default Browsers
nice jobe bro
New Vip Guess Paper
nice. my site http://musicblue.ga