Publish on facebook direct - iOS9

Asked

Viewed 74 times

2

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

  • It is possible yes you have to use the facebook SDK. more information at: https://developers.facebook.com

  • 1

    Thank you, the resource link is this: https://developers.facebook.com/docs/ios/graph#posting

1 answer

0

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

Reference here

Browser other questions tagged

You are not signed in. Login or sign up in order to post.