I am new to facebook apps.I am using javascript sdk.Any one can help me pls for fallowing problemI calculating number likes of album photos:This is my code
FB.api('/'+album.id+'/photos', function(photos){

if (photos && photos.data && photos.data.length){ for (var j=0; j
According to my code its o/p will be likes count : 2no of likes : 2likes count : 3no of likes : 3likes count : 0no of likes : 0likes count : 2no of likes : 2
But it return the result as no of likes : 0no of likes : 0no of likes : 0no of likes : 0
likes count : 2likes count : 3likes count : 0likes count : 2

View Solution