I am trying to use FBConnect in my app to display links from my app. I am using a fork of ShareKit that has the new opengraph method of FBConnect. Everything shows up on my facebook wall fine, but in the app, the text for the link property doesn't. I have two images to show what I mean. The code in the SHKFacebook.m is this:
Like I show, it will post the link and name, just doesn't show in the app before you click share.
Code:
- (BOOL)send
{
NSMutableDictionary *params = [NSMutableDictionary dictionary];
NSString *actions = [NSString stringWithFormat:@"{\"name\":\"Get %@\",\"link\":\"%@\"}",
SHKMyAppName, SHKMyAppURL];
[params setObject:actions forKey:@"actions"];
if (item.shareType == SHKShareTypeURL && item.URL)
{
NSString *url = [item.URL absoluteString];
[params setObject:url forKey:@"link"];
[params setObject:item.title forKey:@"name"];
[params setObject:item.title == nil ? url : item.title
forKey:@"caption"];
if (item.text)
[params setObject:item.text forKey:@"message"];
NSString *pictureURI = [item customValueForKey:@"picture"];
if (pictureURI)
[params setObject:pictureURI forKey:@"picture"];
}

