facebook is not working on sharekit api .. after login then access permission is ok but after will its not display any thing just gone.. i check in iphone simulator.
Please help me out.. thanks.
I don'y completly understand what your asking or where your having trouble, but this is how I do it:
-(IBAction)connectButton {
SHKItem *item;
NSURL *url = [NSURL URLWithString:@"put the link to the itunes store for your app here"];
//this link is so if a person clicks the Facebook post, they will be directed to your app in the store
NSString *postString = @"I just played a game of some game!;
item = [SHKItem URL:url title:[NSString stringWithFormat:@"I'm playing some game! Want to play too?"];
item = [SHKItem URL:url title:@"Share Me!"];
// Share the item
[SHKFacebook shareItem:item];
}
sorry I had trouble formatting that.
also, make sure you import SHKFacebook.h
in your class file.
This will open the Facebook dialog from a button within your app