well good question, while importing the fb data from the user we count all the comments,likes, and tagged-photos and aggregate them to a score.. this score is then used to measure how good you know each other.
it took us a time until we figured out how to weight the different parameters but i think the outcome is quite accurate!