0
最近我tryed發送應用通知,但我得到的錯誤:Facebook是否允許通過應用程序sdk發送通知?
(OAuthException) (#2) Failed to create any app request
代碼:
範圍: offline_access,publish_stream,user_photos使用獲得
FacebookClient fbClient = new FacebookClient(access_token);
var args = new Dictionary<string, object>();
args["message"] = "Invitation to app";
args["title"] = "Super title";
args["data"] = "you are welcome";
fbClient.Post("/" + fbid + "/apprequests", args);
的access_token ,publish_actions,read_stream,電子郵件