calculate facebook data in the algorithm

work in progres..