strange openURL with Facebook and Twitter

    local fbPageID  = "1044933568990607" -- your page id : STRING MANDATORY     local fbPageURL = "https://m.facebook.com/"..fbPageID     local platform = system.getInfo( "platform" )     if platform == "android" then -- android              local fbPageURL\_androidApp = "fb://page/"..fbPageID       if ( system.canOpenURL(fbPageURL\_androidApp) ) then         system.openURL(fbPageURL\_androidApp) -- open in native app       else         system.openURL(fbPageURL) -- open in browser       end            elseif platform == "ios" then -- ios              local fbPageURL\_iosApp = "fb://profile/"..fbPageID       if ( system.canOpenURL(fbPageURL\_iosApp) ) then         system.openURL(fbPageURL\_iosApp) -- open in native app       else         system.openURL(fbPageURL) -- open in browser       end            else       system.openURL(fbPageURL) -- open in browser     end

Hi created this code and it works for me, opening my fb page in the native fb app on ios or android.

This is my contribution, hope it helps someone :slight_smile: