I am trying to integrate sharekit in an ios app. Everything works properly but I have problem with Facebook. What I'have done so far :
edited SHKConfig.h and added#define SHKFacebookAppID @"MyFacebookAppID"
in my app.plist added the url scheme : fb+appID
Now When I try to share something on Facebook, the Facebook app on the device is opened, showing the message : You are logging into this app as "facebookUsername", when I click ok
I'm redirected to my app but nothing happen, no sharing action.
I am missing something??
FaceBook's requires iOS 12.4 or later. If Apps that you need to use now have higher minimum iOS-version requirements than you iPad can support, your only option is to replace your iPad with newer model.
Share Sheet lets you preview your post before it reaches your Facebook feed and offers options to share with particular people.
The Facebook SDK is a set of software components that developers can include in their mobile app to understand how people use the app, run optimized marketing campaigns and enable Facebook login and social sharing.
The solution to my problem is illustrated here sharekit installation guide step 6
Things You have to do for Integrate Sharekit With your Application..(Recommended)
1) Actually You dont need to set URL scheme in .plist file for Sharekit. It's only for facebook API users..
2) Check out,Did you fill api key and secret key in SHKConfig.h file like this below
#define SHKFacebookKey @"YOUR_API_KEY"
#define SHKFacebookSecret @"YOUR_APP_SECRET_KEY"
3) Verify Did you "import SHK.h" file..
4) You have to include "MessageUI,SystemConfiguration and Security frameworks".
5) You dont need to do this #define SHKFacebookAppID @"MyFacebookAppID"
6) Invoke sharekit actionsheet as given in documentation.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With