【问题标题】:why Logo Facebook is showed in my facebook app?为什么徽标 Facebook 会显示在我的 Facebook 应用程序中?
【发布时间】:2011-11-23 04:04:17
【问题描述】:
string dialog_url = "http://www.facebook.com/dialog/oauth?client_id=" + app_id + "&redirect_uri=" + Server.UrlEncode(my_url) + "&scope=" + permission;
                Response.Redirect(dialog_url);

我使用此代码将用户重定向到(请求许可)的页面。 徽标 Facebook 显示在我的 Facebook 应用程序中。并且用户不会被重定向。 用户必须单击徽标才能转到该页面。

ps。 my_url = "http://xxx.xxx.xxx.xxx/";

谢谢你, 巨无霸

【问题讨论】:

    标签: c# asp.net facebook


    【解决方案1】:

    您的页面是否嵌入框架中?出于安全原因,Facebook 不允许您在 iframe 或框架集中加载任何权限对话框。您需要获取 javascript 才能在根窗口中加载页面,或者尝试在新的弹出窗口中打开。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2013-09-24
      • 1970-01-01
      • 1970-01-01
      • 2016-04-22
      • 1970-01-01
      • 2011-11-30
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多