Send link to direct user with Facebook iOS SDK - ios

I have an app, which uses iOS SDK from Facebook. I want to share a link wia Messenger app. Currently, I'm able to open "Share dialogue" where the user is selecting recipients. The question is, is there an opportunity to open share dialogue with specific user?
I've tried specify peopleIDs parameter for ShareLinkContent of Facebook SDK, but it doesn't help.

Related

Facebook messenger bot not showing send Location button on ios devices, only in android

I am using the facebook messenger bot api,in android devices it appears to the user the button to send location and continue with the bot flow, but in ios there is not showing the button.
I ve read the messenger documentation, but i didnt see anything relates with this issue.
Ps: I am not trying to use the Location quickReply that is deprecated.
Is there some additional permission that ios requires besides the one that is asked after the first installation of the facebook messenger application?

Cannot post to Facebook via SLComposeViewController (Social Framework)

I am using SLComposeViewController for sharing in Facebook.
While I didnt have Facebook installed on the device, the controller was coming up with texts pre filled as expected. After i installed Facebook, the setPreText is not showing.
Moreover, I cannot post to Facebook. Twitter is working fine.
My device has iOS8.
A question related to your issue has already been asked here.
This bug report has more details on why the setInitialText: does not work. Basically it is against the Facebook platform policy to pre-fill the share sheet.
Pre-fill using the iOS share sheet. For apps pre-filling using the iOS
share sheet we recommend that you either remove all instances of
pre-fill from your app and submit an update to Apple's App Store or
use Facebook's share dialog for a more seamless experience.

Launch 3rd party apps from links (IE: Facebook "App Links")

pretty new to this stuff - but have a basic question:
I'm looking for a native iOS method that does what Facebook's App Links does.
Put it simply, our news organizations publishes breaking news alerts to Twitter and Facebook with a link to the actual article on our site. People receive the alert in their news feed on Facebook tap on the link and it goes our mobile web page (because user is on a mobile device).
Now Facebook App Links allows for the link url to open the article in our Mobile App (if the user has our installed or instead our mobile web site).
But iOS 8 includes app Extensions - how can our organization create links to launch our 3rd party apps from Facebook newsfeed or Twitter, etc...?
Is there a native iOS solution to open 3rd party apps? IE: how does google do it on iOS to open Chrome. Is there an iOS 8 App Extension that does this?
Thanks

Share custom stories explicitly using share dialog

I'm using the Open Share Dialog from Facebook SDK for iOS in my iPhone App to share a custom story. I created open graph action and object which is already successfully approved by Facebook review team and live.
But if a user shares a story using my App, it's not shown on the news feed of his friends. So I googled a lot and looked here in stackoverflow and everyone writes to set the ExplicitlyShared flag to true. But this is not working for me using the share dialog. After setting this flag to true user stories will not be generated anymore and the post button is disabled.
Also in the Developer Docs Facebook provides this hint:
Anybody a solution?
I used exactly the same code as in the Facebook OpenGraph Share Dialog sample on GitHub: https://github.com/fbsamples/ios-howtos/tree/master/FBOGSampleSD

How to publish link from iOS app to Facebook app with custom URL scheme?

I am creating an iOS app (using Adobe AIR) and I want to put a share button to my game that will allow the player to share a link to my game. I can do it with Graph API using my app's token, but I don't want a story published by my app. I want the native Facebook app to open and bring a share dialog. All my research concluded me to use the custom URL scheme such as fb://publish/?text=my_text but I couldn't get it working. I tried typing exactly that in Safari, it brings the native Facebook app, but no publish dialog or anything. All the sources online tells this, but it is not working. What could I be possibly doing wrong?

Resources