Additional facebook options

If appId is not setted, facebook prints some errors on the console. Also i've included the "share" facebook flag.