正如标题所说,我有一个 wp7 应用程序,当在 WP7 设备(lumia 800)上部署和调试时,我在使用 Facbook c# SDK 时得到 MethodAccessException,但在 WP8 设备(lumia 920)上部署和调试它工作正常. 这是错误发生的地方
private Uri GetURLLogin()
{
var fb = FacebookClient();
return fb.GetLoginUrl(
new {
client_id = "blahblah",
redirect_uri = "http://www.facebook.com/connect/login_success.html",
response_type = "token",
display = "popup",
scope = "user_birthday, email"
}); // Error occurs here
}