简体   繁体   English

创建Facebook服务时,我要输入什么“重定向网址”?

[英]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.

相关问题 在创建短 url 服务时,302 临时重定向是到 go 的最佳方式吗? - When creating a short url service, is 302 temporary redirect the best way to go? 路由:缺少参数时如何重定向到url? - Routing: how do I redirect to a url when a parameter is missing? 如何检查在文本框中输入的网址是否出现在列表中? - How do i check if the url i enter in the textBox is appears in the List? 如何防止WCF服务进入故障状态? - How do I prevent a WCF service from enter a faulted state? 如果我在解决方案中添加了基于服务的数据库,那么发布应用程序该怎么办? - If I added a Service Based database to my solution, what do I do when I publish the application? 使用spring.net wcf:channelfactory创建服务时如何调用WCF service.Abort() - How do I call WCF service.Abort() when service was creating using spring.net wcf:channelfactory 在Razor视图中创建链接时如何获得漂亮的URL? - How do I get a pretty URL when creating a link in a Razor View? 如何将WCF服务运行URL配置为SignalR URL? - How do i config the WCF Service Running URL as SignalR url? 如何判断何时在 TextBox 中按下了回车键? - How do I tell when the enter key is pressed in a TextBox? 创建AdWords API服务时,是什么导致TargetInvocationException? - What causes a TargetInvocationException when creating an AdWords API service?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM