Publish to facebook direct - iOS9

2

I created a code using Swift and the Facebook SDK for iOS9, I can login and share, but to make the share I need to click on the share button that sdk provides, so it opens the default Facebook share box to do the share. I need to share in a different way, when the user clicks the share button in my app I already send it directly to his facebook, without displaying the dialog box of facebook and without leaving my app, keeping the current screen of the app. Is it possible to do this?

    
asked by anonymous 17.10.2015 / 21:40

1 answer

0

Yes it is possible, you need to use a class called FBSDKShareDialog .

Reference here

    
11.05.2016 / 16:24