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

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

问题描述

大家。今天我在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 SDK GetLoginUrl 方法获取登录URL。 netclass =post-tagtitle =show questions tagged'.net'rel =tag>。net 。这个问题不仅发生在我的应用程序中,我已经看到其他应用程序的用户有同样的问题。

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.

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

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