Facebook c#SDKを使用して、ステータスと画像をユーザーのウォールに投稿しています。
ステータスを投稿できますが、画像が投稿されません
これが私のコードです:
[HttpPost]
public ActionResult PostPhotoOnWall(HttpPostedFileBase file)
{
var client = new FacebookClient();
// Post to user's wall
var postparameters = new Dictionary<string, object>();
postparameters["access_token"] = Session["access_token"].ToString();
postparameters["picture"] = "http://localhost:8691/Content/themes/base/images/12WIPJ50240-2V91.jpg";
var result = client.Post("/me/feed", postparameters);
return View("PostPhoto");
}
ユーザーウォールのステータスは画像なしで投稿されます。
誰かが私を助けることができますか?