2
我正在使用Facebook C#SDK來發布內容在個人資料的牆上。無論發佈到牆上,都不包含「分享」鏈接。它有「贊」和「評論」,但不是「分享」。Facebook c#sdk - 如何讓「分享」鏈接在發佈後顯示
問題:如何讓分享鏈接顯示出來?謝謝!
一些代碼...
string profileId = "XYZ";
string accessToken = "abc"; // I already know how to get accessToken
FacebookClient client = new FacebookClient(accessToken);
dynamic messagePost = new ExpandoObject();
messagePost.access_token = accessToken;
messagePost.picture = "http://pic.com/pic.png";
messagePost.link = "http://www.examplearticle.com";
messagePost.name = "name goes here";
messagePost.description = "description goes here";
var result = client.Post(string.Format("/{0}/feed", profileId), messagePost);
有什麼樣messagePost.enableShare = 「真」,或者messagePost.type = 「shareableLink」?