适用于 .NET 的 Facebook SDK - 安全警告问题 [英] Facebook SDK for .NET - Security Warning Issue

查看:20
本文介绍了适用于 .NET 的 Facebook SDK - 安全警告问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家.今天我在我的 Windows Phone 应用程序中遇到以下消息:

everyone. Today I encounter the following message in my Windows Phone App:

成功
安全警告:请像对待密码一样对待上面的 URL,不要与任何人共享.

Success
SECURITY WARNING: Please treat the URL above as you would your password and do not share it with anyone.

当我的用户通过 Web 浏览器控件登录时会发生这种情况,该控件从 Facebook SDKGetLoginUrl 方法获取登录 URL,用于 .这个问题不仅发生在我的应用程序中,我看到其他应用程序的用户也有同样的问题.

This happens when my users Login through the Web Browser Control, which get the Login URL from the GetLoginUrl method from the Facebook SDK for .net. This problem is not only happening in my Apps, I've seen users from other Apps having the same problem.

有人找到了解决方法吗?

Anyone found a solution to this?

我在我的 PictureWeather(Windows Phone 7 和 Windows Phone 8)和 Picture2Cams(Windows Phone 8)应用中运行这个 SDK.

I'm running this SDK in my PictureWeather (Windows Phone 7 & Windows Phone 8) and Picture2Cams (Windows Phone 8) Apps.

推荐答案

遇到了同样的问题.在我的应用程序中,我更改了这一行:
参数["redirect_uri"] = "https://www.facebook.com/connect/login_success.html";
到这一行:
参数["redirect_uri"] = "https://m.facebook.com/connect/login_success.html";
现在可以使用了.

Had the same problem. In my app I changed this line:
parameters["redirect_uri"] = "https://www.facebook.com/connect/login_success.html";
To this line:
parameters["redirect_uri"] = "https://m.facebook.com/connect/login_success.html";
And it works now.

这篇关于适用于 .NET 的 Facebook SDK - 安全警告问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆