OAuth异常 - 验证应用程序时出错。无效的应用程序ID

时间:2016-11-03 09:36:38

标签: c# asp.net oauth facebook-insights

大家好,尽管我的应用ID是正确的,但我还是要保持这个按摩。

这是我的功能:

 public void AuthorizeInsights()
    {
        string app_id = "my_app_id(client_id)";
        string app_secret = "my_app_secret";
        string scope = "public_profile,email,user_hometown,user_about_me,user_likes,ads_management";

        if (Request["code"] == null)
        {
            Response.Redirect(string.Format(
                "https://graph.facebook.com/oauth/authorize?client_id={0}&redirect_uri={1}&scope={2}",
                app_id, Request.Url.AbsoluteUri, scope));
        }

在我的Facebook开发者帐户页面中,我看到我的应用ID是正确的,也是我在代码中插入的那个。

有人知道有什么事吗?

0 个答案:

没有答案