Facebook.Service.FeedStory has no AddTitle method?

Jan 15, 2008 at 9:20 PM
I can only see the AddBody method, but the facebook.feed.publishStoryToUser function also has a title value.
Coordinator
Jan 16, 2008 at 6:58 AM
Don't have the code in front of me right now, but if I remember this is a ctor argument, given its a required field.
Jan 16, 2008 at 7:52 AM
I'm not sure what you're saying here. Sure, you must put "{actor}" inside the title, but I'm saying there is no method available to set the title.
Coordinator
Jan 16, 2008 at 11:36 PM
class FeedStory {
public FeedStory(string title);
public FeedStory(FeedStoryTemplate template);

public void AddTemplateValue(string name, string value);
}

The title passed to the ctor contains the {actor} value. The AddTemplateValue allows you to specify replacements for the { } tokens.