system.openURL

Hi , I’ve put the following code together , but I want to add the system.openURL function , that redirect users to my facebook page , and one for my twitter , can anyone please continue the code , thanks you ! :slight_smile:
 

function new() local recipeGroup = display.newGroup(); local background = display.newImage("graphics/menu\_background2.png") background.y = 240 local facebook = display.newImage("graphics/facebook.png") facebook.x = display.contentWidth/2 facebook.y = 220 local twitter = display.newImage("graphics/twitter.png") twitter.x = display.contentWidth/2 twitter.y = 390 local topmenu = display.newImage("graphics/topMenuBar.png") topmenu.x = 180; topmenu.y = -24; local backButton = display.newImage("graphics/backButton.png") backButton.x = 35; backButton.y = -22; backButton.scene = "menu"; recipeGroup:insert(background); recipeGroup:insert(facebook); recipeGroup:insert(twitter); recipeGroup:insert(topmenu); recipeGroup:insert(backButton); backButton:addEventListener("touch", changeScene); return recipeGroup; end