GetFriendlist, Linking function