prabirshrestha / FacebookSharp

Facebook Graph API for .Net
Other
30 stars 15 forks source link

postToWall publish action_link,image etc.. #25

Open yasinderer opened 13 years ago

yasinderer commented 13 years ago

hi, I want to post a message including link,media,swf.. I don't know using postToWall method. Please show me using postToWall example?

Have a nice day.

yasinderer commented 13 years ago
    Dictionary<string, string> my = new Dictionary<string, string>();
    my.Add("name", "Web Mahsulleri Ofisi");
    my.Add("link", " http://www.webmahsulleriofisi.com");
    my.Add("caption", "{*actor*} posted a new review");
    my.Add( "description","description");
    my.Add( "picture", "http://www.webmahsulleriofisi.com/thumb.jpg");

FacebookContext.FacebookContext.PostToWall("message", my, "userId");