0

I'm using sharekit/sharekit API to share via mail,twitter,facebook

NSDictionary *table = [[NSDictionary alloc] initWithObjectsAndKeys:@"SHKTwitter", SHKLocalizedString(@"Twitter", nil), @"SHKFacebook", SHKLocalizedString(@"Facebook", nil), @"SHKMail", SHKLocalizedString(@"Email", nil),@"SHKTextMessage", SHKLocalizedString(@"Text", nil),nil];

Class SharersClass = NSClassFromString([table objectForKey:"Facebook"]);
NSString *shareMsg = @"share message";
NSURL *shareUrl = [NSURL URLWithString:myURL];
SHKItem *item = [SHKItem text:shareMsg];
item.url = shareUrl;
[SharersClass performSelector:@selector(shareItem:) withObject:item];  

the sharing works but my problem is that the url is not displayed to the user in the facebook pop up however it's displayed on the user wall on facebook.com ... the same case happens with twitter ... but the links appears in mail and text sharing ... any idea what might be the problem ?

ahmad
  • 1,212
  • 1
  • 14
  • 28

0 Answers0