【发布时间】:2012-02-28 09:47:46
【问题描述】:
我正在开发一个应用程序,使我能够通过我的网络应用程序在 Group 的墙上发帖。但我收到以下错误:(OAuthException)发生意外错误。请稍后重试您的请求。
var client = new FacebookClient("<my token>");
dynamic parameters = new ExpandoObject();
parameters.access_token = "<my token>";
parameters.message = "testing";
parameters.link = "http://www.example.com/article.html";
parameters.picture = "http://www.example.com/article-thumbnail.jpg";
parameters.name = "Article Title";
parameters.caption = "Caption for the link";
parameters.description = "Longer description of the link";
parameters.actions = new
{
name = "View on Zombo",
link = "http://www.zombo.com",
};
dynamic result = client.Post("/<group id>/feed", parameters);
我在https://graph.facebook.com/me/permissions?access_token="my token" 中得到以下结果
{
"data": [
{
"installed": 1,
"status_update": 1,
"photo_upload": 1,
"video_upload": 1,
"create_note": 1,
"share_item": 1,
"read_stream": 1,
"publish_stream": 1,
"manage_pages" : 1
}
]}
我是否错过了任何其他权限?
【问题讨论】:
标签: facebook facebook-graph-api facebook-c#-sdk