Uncategorized Wapka

Working Wapka Facebook (FB) Sharer Code

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.

wapka fb sharer code with image tag

Now lets begin, first login your wapka Admin Mode, in your Message in forum first box, Replace ::msg:: with the code below

::msg::

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.comEXAMPLE.COM/ig)[0];
} else {
picture=’://i.imgsafe.org/3d9f76f.jpg’;
}
title=document.title;
document.getElementsByName(‘fb_share’)[0].innerHTML=’‘;

.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;}

Checkout:  How To Hide Comment Box On Blogger Posts

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

DO NOT COPY OR REPRODUCE ANY CONTENT OF THIS WEBSITE!!!🚫

About the author

Emmanuel Ekanem

I'm Emmanuel Ekanem (RealityEmma), a passionate Tech Lover, WordPress Website Designer, Content Creator, and Digital Marketer.

I see Traveling as a hobby for me, especially when I have to handle the camera😜

2 Comments

Leave a Comment