Facebook link

Hello, i’m french, and i am a new developper.
 

My Application is a application of sports that is not important.
 

My probleme is that i want have a facebook logo in my view4 and when the user will click on : open browser on my facebook page OR open the application facebook in my facebook page.

I began with this : 

local object = display.newImage( “facebook.jpg” )

function object:touch( event )

    if event.phase == “began” then

      print  ( “You touched the object!” )

        return true

    end

end

object:addEventListener( “touch”, object )

but i don’t know what the fonction for call internet…

Help me please… 

Have you solved this yet? If not, try this:

system.openURL(“http://yourlinkhere.com”)

Have you solved this yet? If not, try this:

system.openURL(“http://yourlinkhere.com”)