0

I use ShareKit to share stories from my app to Facebook and Twitter. I click everything in the app to share, and it pops up with the dialog box giving me the option to Share or Cancel. If I click Share, it never posts. Not in my timeline or news feed, nor where anyone else can see it. If I type something in the dialog box first, it will share. Is this a bug with ShareKit or with Facebook, and how can I remedy this issue?

SHKItem *item = [SHKItem URL:[NSURL URLWithString:_entry.articleUrl] title:_entry.articleTitle];
        [item setCustomValue:@"http://www.316apps.com/icon.png" forKey:@"picture"];
        [SHKFacebook shareItem:item];
user717452
  • 33
  • 14
  • 73
  • 149

1 Answers1

0

the problem might be, that you use obsolete original shareKit. Facebook has deprecated "message" parameter in FBDialog, which is used when you share text. A workaround is to use Facebook's Graph api. This is addressed in ShareKit 2. If you decide to try it, make sure to follow install wiki literally, as many things have changed.

Vilém Kurz
  • 3,401
  • 2
  • 34
  • 43
  • I am not using ShareKit to share text at all. See above edit for what I am using – user717452 Jul 31 '12 at 00:52
  • SHKFacebook and SHKItem are parts of shareKit. So it seems that you do use shareKit. I second my answer :) – Vilém Kurz Jul 31 '12 at 05:43
  • I NEVER SAID I DON'T USE SHAREKIT, IT IS IN THE FIRST LINE OF MY QUESTION! I said I don't use ShareKit to share TEXT! If you look at the code in my answer, I am not using ShareKit for sharing text, but for sharing URL, which does not use Facebook's deprecated message at all. – user717452 Jul 31 '12 at 13:51