Users log into my app through the facebook sdk. If one user clicks on another user I'd like to enable them to chat via facebook messenger. I can launch messenger from my app, but is there a way to launch into the chat screen with a specific user.
相关问题
- React Native Inline style for multiple Text in sin
- How Do I Convert Image URI into Byte Expo
- ApolloClient from apollo-boost attemped to assign
- Implementing ssl pinning in a react-native applica
- React-Native: Enable Performance Monitor in produc
相关文章
- Why do we have to call `.done()` at the end of a p
- Remove expo from react native
- React Native - Dynamic Image Source
- “Unfortunately, app has stopped” error with buildi
- eslint Parsing error: Unexpected token =
- How to determine JS bottlenecks in React Native co
- How to override navigation options in functional c
- PanResponder snaps Animated.View back to original
You can open a conversation in Messenger with deep links:
http://m.me/{user_name}
<- this is official link for Messenger. You'll need to ask user for his Messenger's username.fb-messenger://user/{user_id}
<- this link is not documented, so it can break any time (Deep linking).user_id
probably is the Facebook User Id, so it will be easier to obtain, however you'll need to ask foruser_profile
permission to get user id (Messenger Permissions)