I would like to post an url, image and text at the same time to facebook using Sharekit in iOS. Is it possible? If so, how do I do it? Any guidance.
I would like to acheive something like this. Need some help.
I have tried something like this:
SHKFacebook * sharer = [ [ [ SHKFacebook alloc ] init] autorelease ];
SHKItem * item = [ SHKItem URL:[ NSURL URLWithString:@"http://google.com" ]
title:@"my title"
contentType:SHKShareTypeURL ];
item.facebookURLShareDescription = @"my description";
item.facebookURLSharePictureURI = @"http://www.userlogos.org/files/logos/pek/stackoverflow.png";
But doesn't seem to post with the description...
EDIT:
my facebooksharedescription and facebookshareuri looks like this:
- (NSString *)facebookURLSharePictureURI {
return nil;
}
- (NSString *)facebookURLShareDescription {
return nil;
}
Do I need to change anything in this.
When i change to forcepreIOS6posting,it gives me this error:
the operation cannot be completed.(com.facebook.sdk. error 2.)
Need some guidance on these two as well...