Added a postFriends function.