ofxFB publish a value in publish feed

Hi,
I trying to use ofxFB to publish a value from my OF iPhone app in Facebook feed.

I try to customize the (void)publishFeed:(id)target function in ofxFB.

but in my OF source there is just

ofxFBConnect fb;
fb.toggleShow();

And I don’t know how to send a value from my program.

Any exemple can help.
Thanks

I don’t know anything about Objective C so I try to customize an actual function

Here how I want to send the string from OF

  • (void) setScore: (NSString*)input {
    Score = input;
    }

And here the publish feed function:

  • (void)publishFeed:(id)target{
    FBStreamDialog* dialog = [[[FBStreamDialog alloc] init] autorelease];
    dialog.delegate = self;
    dialog.userMessagePrompt = @“Example prompt publish score”;

dialog.attachment = @"{“Score”:“pts”,“href”:“http://developers.facebook.com/connect.php?tab=iphone",“caption”:“Caption”,“description”:“Description”,“media”:[{“type”:“image”,“src”:“http://www.croquonslavie.fr/NR/rdonlyres/7E2D59FE-6F55-44BB-8A03-AEA588A58D8A/4157/Fraise.jpg”,“href”:“http://developers.facebook.com/connect.php?tab=iphone/”}],“properties”:{"another link”:{“text”:“Facebook home page”,“href”:"http://www.facebook.com"}}}";

[dialog show];
}

But publish feed is not working when I add Score on it, probably because it is not the right Objective C way to do it.
Any ideas