Note that there are some explanatory texts on larger screens.

plurals
  1. POCan't see the new advanced auth dialog with my dev and test users
    primarykey
    data
    text
    <p>I'm trying to get Facebook's new Enhanced Authorization dialog to appear for my dev/test users, and it's been really problematic. When the Enhanced Authorization dialog doesn't appear, I can't get the <code>publish_actions</code> permission for the user's account, and my app doesn't work. </p> <p>What I've tried: </p> <ul> <li>I've checked the "Enhanced Auth Dialog" option in app parameters. </li> <li>I've created two Aggregations with sample values. </li> <li>I've put <code>publish_actions</code> for user and friends in the Authenticated Referral request, and <code>publish_stream</code> in the extended permissions the app requests.</li> </ul> <p>What's strangest to me is that with my admin account, I saw the Enhanced Auth dialog when I logged in the first time, and <em>I</em> have the <code>publish_actions</code> permission.</p> <p>Here's the code that I'm currently using - this block is the JS embedded in a page that should generate the Enhanced Auth dialog.</p> <pre><code>&lt;div id="fb-root"&gt;&lt;/div&gt; &lt;script&gt; window.fbAsyncInit = function() { FB.init({ appId : '334890956523886', // App ID 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'; if (d.getElementById(id)) {return;} js = d.createElement('script'); js.id = id; js.async = true; js.src = "//connect.facebook.net/en_US/all.js"; d.getElementsByTagName('head')[0].appendChild(js); }(document)); &lt;/script&gt; &lt;fb:add-to-timeline show-faces="true" perms="publish_actions,publish_stream"&gt;&lt;/fb:add-to-timeline&gt; </code></pre> <p>The page's <code>&lt;html&gt;</code> tag is: </p> <pre><code>&lt;html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="fr-FR" xmlns:fb="https://www.facebook.com/2008/fbml"&gt; </code></pre> <p>This is the URL for the auth dialog that my app's PHP code produces:</p> <pre><code>http://www.facebook.com/connect/uiserver.php?app_id=334890956523886&amp;method=permissions.request&amp;redirect_uri=http%3A%2F%2Fapps.facebook.com%2Fzewishlist%2F&amp;response_type=none&amp;display=page&amp;perms=publish_stream%2Cpublish_actions&amp;auth_referral=1 </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

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