Is it possible we use script to get Friend / Foe List ??
Last edited by TamDonCo on September 10th 2016, 2:18 pm; edited 1 time in total
Ch@lo Valdez wrote:please explain better
add friends? or display a friend list in specific place you want?
Ch@lo Valdez wrote:is possible but where we will place the list?
users logged -- check
always visible?
the place of this list ....
thinks your idea and give more complete specifications
var id = '1' //<--- change the id
$.get('/u' + id + 'friends', function (e) {
console.log(e); //<--- all html tree from friend page in the profile
});
$.get('/profile?mode=editprofile&page_profil=friendsfoes', function(e) {
var a = $('.panel:eq(4)', e).html(); console.log(a) // foes list
});
Problem solved & topic archived.
|