def create_friend_connections(self, user, friends):
user_graph = facebook.GraphAPI(user["<STR_LIT>"])<EOL>for friend in friends:<EOL><INDENT>if user["<STR_LIT:id>"] == friend["<STR_LIT:id>"]:<EOL><INDENT>continue<EOL><DEDENT>user_graph.request(<EOL>user["<STR_LIT:id>"] + "<STR_LIT>" + friend["<STR_LIT:id>"], {}, {}, method="<STR_LIT:POST>"<EOL>)<EOL>respondent_graph = facebook.GraphAPI(friend["<STR_LIT>"])<EOL>respondent_graph.request(<EOL>friend["<STR_LIT:id>"] + "<STR_LIT>" + user["<STR_LIT:id>"], {}, {}, method="<STR_LIT:POST>"<EOL>)<EOL><DEDENT>
Function for creating friend connections for a test user.