Open facebook page Ionic

0

Hello! I use this code to open the Facebook app directly on the page on the device.

<a href="#" class="link-fb" 
    onclick="window.open('fb://page/0000000000000', '_system'); return false;">
</a>

No Android works perfectly, opening on the page sent in the parameter. But in iOS it just opens the facebook app on the home page.

Does anyone know what's going on? any suggestion? Thank you.

    
asked by anonymous 05.12.2018 / 13:37

1 answer

0

I did so in my application and worked fine on IOS AND Android

    <ion-list>
    <a href="https://www.facebook.com/GuiaCorretorPlus/"><ion-item>
      <ion-thumbnail item-start>
        <img src="assets/img/facebook_logo.png">
      </ion-thumbnail>
      <h2>Facebook</h2>
      <p>GuiaCorretor</p>
      <button ion-button clear item-end>View</button>
    </ion-item></a>
  </ion-list>
    
05.12.2018 / 13:41