Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Not able to share link using Sharekit in iphone

I am using the sharekit to use facebook

Now here..

I want to "share link" in the facebook for this I have found this way in the sharekit documentation

  // Create the item to share (in this example, a url)
NSURL *url = [NSURL URLWithString:@"http://getsharekit.com"];
SHKItem *item = [SHKItem URL:url title:@"ShareKit is Awesome!"];

// Share the item
[SHKFacebook shareItem:item];

But I dont know this is not working..I am able to see opened facebook page but this link is not being shared in my Facebook page.

Can anyone tell me the solution??

like image 578
Jean-Luc Godard Avatar asked Nov 21 '25 22:11

Jean-Luc Godard


2 Answers

Did you change the configuration file?

You need to set the correct key and secrets in the configuration.

like image 174
rckoenes Avatar answered Nov 23 '25 13:11

rckoenes


You just need to fill these details in SHKConfig.h file

#define SHKFacebookKey              @""
#define SHKFacebookSecret           @""
#define SHKFacebookSessionProxyURL  @""
like image 39
User97693321 Avatar answered Nov 23 '25 12:11

User97693321



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!