share link to facebook
Back to All

share link to facebook

how to share a link on faceboo?

i tried with javascripto bridge but it doesn't work. nothing happens. and using facebook libraries
it doesn't work the same way  

 FB.ui({
          method: 'share',
          href: url,
        },
          

window.location.href = 'gonative://share/sharePage?url=' + encodeURIComponent(url)