I am trying to use the Facebook C # SDK to post to a stream on Facebook, but I fail. This is what my code looks like:
var app = new Facebook.FacebookApp(_accessToken); var parameters = new Dictionary<string, object> { { "message" , promotionInfo.TagLine }, { "name" , promotionInfo.Title }, { "description" , promotionInfo.Description }, { "picture" , promotionInfo.ImageUrl.ToString() }, { "caption" , promotionInfo.TargetUrl.Host }, { "link" , promotionInfo.TargetUrl.ToString() }, { "type" , "link" } }; var response = app.Post(_targetId + "/feed", parameters);
I checked, and I see that the request in Fiddler goes to Facebook, and I return the ID, however, when I try to view this identifier in http://graph.facebook.com/[parentid]_[postid]
I just get a page with a βlieβ on it, and the message also does not appear on the Facebook page itself. If I simply enter a random postid that does not exist, I get "Some of the aliases you requested do not exist."
AccessToken has the right to use access to publish_stream and offline publications (generated using this URL )
Any ideas what could go wrong? Thanks
Refresh . I have to add, this works fine if I change _targetId to "I" (i.e. send directly to my own profile page)