1
我正在嘗試使用Facebook C#SDK爲我的Facebook應用程序創建測試用戶。使用Facebook C#SDK創建測試用戶...?
不太清楚,如果我要去了解它的正確方法,但這裏是我執行的代碼...
FacebookClient client = new FacebookClient(FacebookApplication.Current);
String url = String.Format("/{0}/accounts/test-users", FacebookApplication.Current.AppId);
IDictionary<string, object> userParams = new Dictionary<string, object>();
userParams["installed"] = "true";
userParams["permissions"] = "read_stream";
userParams["access_token"] = AccessToken;
dynamic fbResults = client.Post(url, userParams);
我收到一個異常...
(OAuthException) (#15) The method you are calling must be called with an app secret signed session
感謝您的協助。大概應該嘗試過......! – Sambo 2011-05-05 14:04:23
我試着做同樣的事情,但我仍然一直在得到這個錯誤!爲什麼會發生?!請檢查它:http://stackoverflow.com/questions/5990051/oauthexception-15-the-method-you-are-calling-must-be-called-with-an-app-secr – Kassem 2011-05-13 19:37:42