Manspof
Manspof

Reputation: 357

React native app link business page to facebook messenger

Im trying to open facebook messenger from react native app using Linking to business page. I succeed to do that for user

Linking.openURL(`fb-messenger://user/1000XXXXXXXXX`)

but for business page such this page

I tried this way

   Linking.openURL(`fb-messenger://user//sport24live`)

or

   Linking.openURL(`fb-messenger://sport24live`)

and it's not working, not open anything.

Upvotes: 2

Views: 930

Answers (1)

Pritish Vaidya
Pritish Vaidya

Reputation: 22209

Facebook has added m.me links which is a shortened URL that redirects to a person, page or a bot in messenger.

Therefore you can use it as

Linking.openURL(`http://m.me/sport24live`)

Check out more in the docs here

Upvotes: 6

Related Questions