Common code to identify users based on social network(s)