GoForum
Africa's Best Forum
Representing The World


Chatrooms | Quiz | Chatcredit
Today Is Monday,21 May 2018, 1:41 PM
You are here: » » »


Facebook Friend List Code For Wapka

img
Laxon, (Male)
121 days ago US Expert, Super Addict
Wapka friends list code like that of facebook..
1.) First of all you have to create two pages which are: Page A and Page B.
Page A is for users friends from profile page which is the list of friends of a user, paste the below code for Page A
<script> var friends=/bot|:userstats: d=fa, l=1000, x=u, ft=act::%tname%|:: :user-tname: :/userstats:system/gi; </script>:userstats: d=fa, l=1000, x=u, ft=act ::<script> var count%sn%='%tname%'; var res=count%sn%.match(friends); if(res) { document.write("<span name='count' style='display:none;'>%tname%</span>"); } else { document.write('') }; </script>:: :get-user: :/userstats:<script language='javascript'> var count=document.getElementsByName("count").length; if(count==0) { document.write(''); } else { document.write('<div align="left" class="head2"><b>Friends List (' count ')</b></div>') }; </script>:userstats: d=fa, l=1000, x=u, ft=act::<script> var mutual%sn%='%tname%'; var res=mutual%sn%.match(friends); if(res) { document.write('<div name="mutus" style="display:none;"><table><tr><td class="great" width="0%"><img style="border: 1px goldenrod solid;" src="%urlpicture%" alt="%tname%" width="50" height="50" /></td><td class="great" width="90%" align="left" valign="top"><a href="%urlprofile%">%name%</a><br/></td></tr></table></div>'); } else{ document.write('') }; </script>:: :get-user: :/userstats: <script language="javascript"> if(count=='0') { document.write(''); } else{ document.write('<div class="great">'); } var res=document.getElementsByName("mutus")[0].innerHTML; document.write(res); </script><script language="javascript"> var result2=document.getElementsByName("mutus")[1].innerHTML; document.write(result2); </script><script language="javascript"> var result3=document.getElementsByName("mutus")[2].innerHTML; document.write(result3); if(count=='0') { document.write(''); } else { document.write('</div>') }; </script><script> if(count==3) { document.write(''); } else if(count==2) { document.write(''); } else if(count==1) { document.write(''); } else if(count==0) { document.write(''); } else { document.write('<div class="head" style="padding-top: 6px; padding-bottom: 6px;"><a href="/site_B.xhtml?get-user=:get-user::admin-hash-amp:"><b>See More Friends</b></a></div>') }; </script>

Add this below also
<div align='left' class="wapme"><b>:get-user:'s Friends (:userstats: d=fa, l=0, x=u, ft=act :: :: :get-user: :/userstats:)</b></div><table class='great' width='100%'>:userstats: d=fa, o=dl, l=10, n=No friends yet, x=u, ft=act, s=:geti-p(1): ::<tr><td class='great' width='0%'><img style='border: 1px solid goldenrod' src="%urlpicture%" alt="%tname%" width="50" height="50"/></td><td align='left' class='great' width="90%" valign="top"><a href="%urlprofile%">%name%</a><br/><script> var mutual= mutual%sn%.match(friends); if(mutual) { document.write(''); } else { document.write('<a href="%urlfradd%">Add friend</a>') }; </script></td></tr>:: :get-user: :/userstats:</table><div class='head' style='padding-top: 6px; padding-bottom: 6px;'></div>

Go to Page B and put this code
<script> var friends=/bot|:userstats: d=fa, l=1000, x=u, ft=act::%tname%|:: :user-tname: :/userstats:system/gi; </script>:userstats: d=fa, l=1000, x=u, ft=act ::<script> var count%sn%='%tname%'; var res=count%sn%.match(friends); if(res) { document.write("<span name='count' style='display:none;'>%tname%</span>"); } else { document.write('') }; </script>:: :get-user: :/userstats:<script language='javascript'> var count=document.getElementsByName("count").length; if(count==0) { document.write(''); } else { document.write('<div align="left" class="head2"><b>Friends List (' count ')</b></div>') }; </script> <table class='great' width='100%'>:userstats: d=fa, l=1000, x=u, ft=act::<script> var mutual%sn%='%tname%'; var res=mutual%sn%.match(friends); if(res) { document.write('<tr><td class="great" width="0%"><img style="border: 1px goldenrod solid;" src="%urlpicture%" alt="%tname%" width="50" height="50" /></td><td class="great" width="90%" align="left" valign="top"><a href="%urlprofile%">%name%</a><br/></td></tr>'); } else{ document.write('') }; </script>:: :get-user: :/userstats:</table><script> document.title='Mutual friends with :get-user: (' count ')'; </script>

You can use this as a link in your site for users to see their friends list
<a href="/site_A.xhtml?get-user=:getid-profile:">Friends</a>

Replace A with the site id of PAGE A
*...Always visit http://edgelinemusic.name.ng...*


Site: Back | . Nxt | .Next..1

Post Comment
Name:

Text:


TAGS:

Users Viewing This Post
Professor and 8 guests

Daniyan | About | Version 2.5 | Add Peeps | Rules | Contact Us | Make Money

copyright © 2017
2goscript.ga, forum4africa.cf
Share Link
Bollywood Movie
XVIDEOS GAMES
Download the best Android apps on Uptodown
Download Android Game for Free
Vidmate  Android Games  Shareit  more