错误消息:redirect_uri不是应用程序所有 [英] Error Message: redirect_uri is not owned by the application

查看:133
本文介绍了错误消息:redirect_uri不是应用程序所有的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

:: UPDATE :: LINKS不要出现!

::UPDATE:: LINKS DO NOT EXIST ANYMORE!

确实很奇怪,这绝对是一个错误!我从另一个应用程序做了一个app_id的测试,它的工作。
自己看:

Very strange indeed, this is definitely a bug! I did a test with app_id from another application and it worked. See for yourself:

https://apps.megalopes.com/megabraziltv/test.php (app_id正确)

https://apps.megalopes.com/megabraziltv/test.php (app_id correct)

https://apps.megalopes.com/megabraziltv/test2.php (来自另一个应用程序的app_id)

https://apps.megalopes.com/megabraziltv/test2.php (app_id from another application)

--- / ---

---/---

我发现几个同样问题的人都是相同的答案:
网站不是与REQUEST_URI(重定向网址)相同

I found several people with the same question and all the answers are equal: Site URL is not same as REQUEST_URI (Redirecting URL)

我的应用设置是:

安全页面选项卡URL:apps.megalopes .com / megabraziltv /...

Secure Page Tab URL: apps.megalopes.com/megabraziltv/...

应用程式域名:megalopes.com

App Domain: megalopes.com

代码:

<div id="fb-root"></div>
      <script src="http://connect.facebook.net/pt_BR/all.js">
      </script>
      <script>
         FB.init({ 
            appId:'123456789', cookie:true, 
            status:true, xfbml:true 
         });

         FB.ui({ method: 'apprequests', 
            message: 'Here is a new Requests dialog...'});
      </script>

这个简单的代码不会重定向到任何其他url。我在js控制台上测试得到相同的结果。有时候工作,有时我会收到这个错误信息:

This simple code is not redirecting to any other url. I tested on the js console getting the same results. Sometimes works and sometimes I get this error message:


API错误代码:191 API错误说明:指定的URL不是
由应用程序拥有错误消息:redirect_uri不是由
的应用程序所有。

API Error Code: 191 API Error Description: The specified URL is not owned by the application Error Message: redirect_uri is not owned by the application.


推荐答案

p>无论是页面标签还是画布,您必须在 https://developers.facebook.com中标识网站网站/ apps

Regardless of being page tab or canvas, you must identify the website Site URL in https://developers.facebook.com/apps

我如何修复:

应用领域:megalopes.com(域)

App Domain: megalopes.com (domain)

网址:/安全画布网址:/安全网页标签网址: https ://www.megalopes.com (子域名)

Site URL: / Secure Canvas URL: / Secure Page Tab URL: https://www.megalopes.com (subdomain)

这篇关于错误消息:redirect_uri不是应用程序所有的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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