Note that there are some explanatory texts on larger screens.

plurals
  1. POFacebook authentication API
    text
    copied!<p>I'm new to facebook API and I have some questions related to facebook authentication. I have created an application and have edited the domain and url.</p> <blockquote> <p>Website Domain giftme.web44.net Site URL <a href="http://www.giftme.web44.net/" rel="nofollow">http://www.giftme.web44.net/</a></p> </blockquote> <p>I used the following on my site webpage:</p> <pre><code>&lt;div id="fb-root"&gt;&lt;/div&gt; &lt;script&gt; window.fbAsyncInit = function() { FB.init({ appId : '3347207XXXXXXXX', // App ID (I've replaced for security reasons) channelUrl : 'http://giftme.web44.net/channel.html/', // Channel File status : true, // check login status cookie : true, // enable cookies to allow the server to access the session xfbml : true // parse XFBML }); // Additional initialization code here }; // Load the SDK Asynchronously (function(d){ var js, id = 'facebook-jssdk', ref = d.getElementsByTagName('script')[0]; if (d.getElementById(id)) {return;} js = d.createElement('script'); js.id = id; js.async = true; js.src = "//connect.facebook.net/en_US/all.js"; ref.parentNode.insertBefore(js, ref); }(document)); &lt;/script&gt; </code></pre> <p>And I've created the page 'channel.html' with only this:</p> <pre><code>&lt;script src="//connect.facebook.net/en_US/all.js"&gt;&lt;/script&gt; </code></pre> <p>Finally I used the login button:</p> <pre><code>&lt;div class="fb-login-button" &gt;Login with Facebook&lt;/div&gt; </code></pre> <p>What i'm I doing wrong? I keep getting this error:</p> <blockquote> <p>API Error Code: 191 API Error Description: The specified URL is not owned by the application Error Message: Invalid redirect_uri: A URL informada não é permitida pela configuração do aplicativo.</p> </blockquote>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload