All I want to do is link my link to an application in FB messenger so that the user can send a message to his friend. I have the Fb id of all my users, I figured I could use this to open the messenger for the user stream.
The SDK provides only ways to send media files, but does not allow the user to send plain text. How can I allow a user to send a message via messenger to his friend from my application?
I tried this
UIImage *image = [UIImage imageNamed:@"test.png"]; [FBSDKMessengerSharer shareImage:image withOptions:nil];
And it works as expected; it comes to the messenger with the finished image and allows me to select users and allows me to enter more text.
How can I achieve the same functionality without having to send via media? (using nil as the image is not working).
And how can I use such a call to pre-populate the receiving user based on the FB ID?
source share