Home Facebook Graph API upgrade to 2.6 causing auth failure
Reply: 0

Facebook Graph API upgrade to 2.6 causing auth failure

user46271
1#
user46271 Published in September 20, 2018, 5:24 pm

I am trying to upgrade Facebook Graph API version from 2.5 to 2.6 with changing the auth endpoint from "oauth/device" to "device/login" and getting following response

{
    "error": {
        "message": "(#191) redirect_uri is not owned by the application.",
        "type": "OAuthException",
        "code": 191,
        "error_data": {
            "name": "redirect_uri"
        },
        "fbtrace_id": "FPupgVUcj/I"
    }
}

I have checked on the backend settings of my app, redirect uri is superset of saved Website uri there.

share|improve this question
  • It doesn’t want “supersets”, it wants the exact redirect URIs your app uses. – CBroe Feb 8 at 8:33
  • Hi CBroe, I am elaborating using exmaple, if WebSite uri is "www.abc.com/ ", then my redirect uri is "www.abc.com/facebook_success.html", which is as per facebook guidelines as per my understanding. – Ruby Feb 8 at 9:51
  • “if WebSite url is www.abc.com/” - then what? – CBroe Feb 8 at 9:51
  • @CBroe , please check my latest comment. – Ruby Feb 8 at 9:53
  • First of all, the redirect URI is whatever your app specifies/generates. (https://www.facebook.com/connect/login_success.html exists for desktop apps using webviews, but that has nothing whatsoever to do with your website app.) You need to go an find out what value is actually used, and then input that exact URL in the app settings. – CBroe Feb 8 at 10:01

active oldest votes

Your Answer

StackExchange.ifUsing("editor", function () { StackExchange.using("externalEditor", function () { StackExchange.using("snippets", function () { StackExchange.snippets.init(); }); }); }, "code-snippets"); StackExchange.ready(function() { var channelOptions = { tags: "".split(" "), id: "1" }; initTagRenderer("".split(" "), "".split(" "), channelOptions); StackExchange.using("externalEditor", function() { // Have to fire editor after snippets, if snippets enabled if (StackExchange.settings.snippets.snippetsEnabled) { StackExchange.using("snippets", function() { createEditor(); }); } else { createEditor(); } }); function createEditor() { StackExchange.prepareEditor({ heartbeatType: 'answer', convertImagesToLinks: true, noModals: false, showLowRepImageUploadWarning: true, reputationToPostImages: 10, bindNavPrevention: true, postfix: "", onDemand: true, discardSelector: ".discard-answer" ,immediatelyShowMarkdownHelp:true }); } });
 
StackExchange.ready( function () { StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f48678298%2ffacebook-graph-api-upgrade-to-2-6-causing-auth-failure%23new-answer', 'question_page'); } );

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged facebook-graph-api or ask your own question.

StackExchange.ready(function(){$.get('/posts/48678298/ivc/59e0');});
StackExchange.ready(function () { StackExchange.responsiveness.addSwitcher(); }) (function(i, s, o, g, r, a, m) { i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function() { (i[r].q = i[r].q || []).push(arguments) }, i[r].l = 1 * new Date(); a = s.createElement(o), m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m); })(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga'); StackExchange.ready(function () { StackExchange.ga.init({ sendTitles: true, tracker: window.ga, trackingCodes: [ 'UA-108242619-1' ] }); StackExchange.ga.setDimension('dimension2', '|facebook-graph-api|'); StackExchange.ga.setDimension('dimension3', 'Questions/Show'); StackExchange.ga.trackPageView(); }); /**/ var _qevents = _qevents || [], _comscore = _comscore || []; (function() { var ssl = 'https:' == document.location.protocol, s = document.getElementsByTagName('script')[0], qc = document.createElement('script'); qc.async = true; qc.src = (ssl ? 'https://secure' : 'http://edge') + '.quantserve.com/quant.js'; s.parentNode.insertBefore(qc, s); _qevents.push({ qacct: "p-c1rF4kxgLUzNc" }); /**/ var sc = document.createElement('script'); sc.async = true; sc.src = (ssl ? 'https://sb' : 'http://b') + '.scorecardresearch.com/beacon.js'; s.parentNode.insertBefore(sc, s); _comscore.push({ c1: "2", c2: "17440561" }); })();
You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.388785 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO