I Don'y entienden completamente lo que su pedir o cuando su tener problemas, pero esto es cómo lo hago:
-(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];
}
Lamento haber tenido problemas al dar formato eso. también, asegúrese de importar SHKFacebook.h
en su archivo de clase.
Esto abrirá el diálogo de Facebook desde un botón dentro de su aplicación
favor algún compañero de respuesta Estoy muy agradecido ... –