[英]What do i enter as for the “redirect Url” when creating a Facebook service?
I am trying to implement the Xamarin.Social component into my app. 我正在尝试将Xamarin.Social组件实现到我的应用程序中。 That requires a parameter named RedirectUrl that i can't find anywhere in the Facebook developers console, and google hardly returns results.
这需要一个名为RedirectUrl的参数,我无法在Facebook开发人员控制台的任何位置找到该参数,并且google几乎不会返回结果。
public static FacebookService Facebook
{
get
{
if (mFacebook == null)
{
mFacebook = new FacebookService() {
ClientId = "App ID here, that works fine",
RedirectUrl = new Uri (" ??? ")
};
}
return mFacebook;
}
}
Where can i find that parameter? 在哪里可以找到该参数? I have tried various things so far but non of them seemed to work so i think its not worth posting here.
到目前为止,我已经尝试过各种方法,但是似乎都不起作用,因此我认为不值得在此发布。 I really need this for a project to get done.
我真的需要这个来完成一个项目。 Thanks, i appreciate any help.
谢谢,谢谢您的帮助。
You can set this parameter on your application settings on facebook developer. 您可以在Facebook Developer的应用程序设置上设置此参数。 If you are developing a desktop or mobile app, you can use this url https://www.facebook.com/connect/login_success.html as your redirect_url
如果您正在开发台式机或移动应用程序,则可以将此URL https://www.facebook.com/connect/login_success.html用作您的redirect_url
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.