added code to get friends links