1
我想添加一張圖片到我的牆貼,一切都張貼在牆上除了圖片,我已經綁定到一個可訪問的url的圖片的網址,但它確實顯示在牆上的帖子上。我如何添加一張圖片到我的牆上張貼在C#
我的c#代碼: FacebookApp app = new FacebookApp(Session [「SSAccessToken」]。ToString());
dynamic parameters = new ExpandoObject();
parameters.message = "MESSAGE";
parameters.link = Request.Url.Scheme + "://" + Request.Url.Host + ":" + Request.Url.Port+"/Default.aspx?vw=2&Id="+ID;
**parameters.picture = Request.Url.Scheme + "://" + Request.Url.Host + ":" + Request.Url.Port + "/Images/Test.jpg";**
parameters.name = "Title";
parameters.caption ="Caption"
parameters.description = "Description...";
parameters.actions = new
{
name = "Contribute",
// tagret = "_blank",
link = Request.Url.Scheme + "://" + Request.Url.Host + ":" + Request.Url.Port + "/Contributor.aspx?Id=" + goal.ID
};
parameters.privacy = new
{
value = "ALL_FRIENDS",
};
parameters.targeting = new
{
countries = "US",
regions = "6,53",
locales = "6",
};
dynamic result = app.Post("me/feed", parameters);
這張圖片不顯示在牆上的信息?有任何想法嗎 ?