title: Facebook Graph API 2.0 Can Like/Comment but not Comment
body: <p>Like widget works, Comment widget does not: SEE UPDATE 2</p>
  
  <hr>
  
  <p>I inherited a project which has a Graph 1.0 implementation. Users can log in with Facebook, and then Like and Comment on the site. </p>
  
  <p>The authentication system (symfony/php) interacts directly with Facebook in order to identify the user so that, if they don't exist, a profile can be created or, if they do exist, they can be logged into the local system as well.</p>
  
  <p>The Like and Comment widgets have been updated to use the 2.0 syntax:</p>
  
  <pre><code>window.fbAsyncInit = function() {
          FB.init({
              appId      : 'KEY_HERE',
              xfbml      : true,
              version    : 'v2.3'
          });
      };
  &lt;/script&gt;
  &lt;script&gt;(function(d, s, id){
      var js, fjs = d.getElementsByTagName(s)[0];
      if (d.getElementById(id)) return;
      js = d.createElement(s); js.id = id;
      js.src = "//connect.facebook.net/es_US/sdk.js";
      fjs.parentNode.insertBefore(js, fjs);
      }(document, 'script', 'facebook-jssdk'));&lt;/script&gt;
  </code></pre>
  
  <p>This seems to be working ok. Widgets are generated and, using my personal Facebook account, I can post and like and see the results on both this site and on Facebook.</p>
  
  <p>Meanwhile, for authentication, the application generates an authorize url like this:</p>
  
  <pre><code>http://www.facebook.com/v2.3/dialog/oauth?client_id=API_KEY&amp;redirect_uri=REDIRECT_URI&amp;state=TOKEN&amp;scope=SCOPE
  </code></pre>
  
  <p>Scope consists of the following:</p>
  
  <pre><code>'email', 'user_website', 'offline_access', 'status_update', 'publish_actions', 'publish_stream'
  </code></pre>
  
  <p>From the callback handler of that request, we retrieve the users Facebook profile and forward along to custom code for logging a user in, or registering them:</p>
  
  <pre><code>https://graph.facebook.com/v2.3/oauth/access_token?client_id=API_KEY&amp;redirect_uri=REDIRECT_URI&amp;client_secret=API_SECRET&amp;code=CODE
  </code></pre>
  
  <p>This also appears to be working, as long as I'm using my personal FB profile. I can login and Comment and Like things.</p>
  
  <p>When I log in using my Open Graph Test User, I can't Like or Comment. When try to post a comment, I get an error which simply states "Oops" in a lightbox/dialog. From my console, I get the following error:</p>
  
  <pre><code>for (;;);{"__ar":1,"error":1357010,"errorSummary":"Oops","errorDescription":"Something went wrong. We're working on getting it fixed as soon as we can.","payload":null,"bootloadable":{},"ixData":{},"lid":"0"}
  </code></pre>
  
  <p>Here's what appears to be a comprehensive list of error codes, but 1357010 is not listed:</p>
  
  <p>[<a href="http://fbdevwiki.com/wiki/Error_codes][1]" rel="nofollow">http://fbdevwiki.com/wiki/Error_codes][1]</a></p>
  
  <p>So, the fundamental question is, why can my Open Graph Test User (configured to run the app in 2.0 mode) not interact with the widgets, while my personal FB profile can? Have I failed to properly upgrade the authentication system so that the 2.0 Test User isn't sufficiently privileged?</p>
  
  <p>[UPDATE]</p>
  
  <p>When my application logs a user in, there is no part of the FB dialog which permits a user to accept the permissions which are being requested. Regardless of whether I'm logged in with my personal account or the Graph Test User, I <em>can</em> Like a page and then, subsequently, Comment from the resulting dialog - that dialog requests permission to do so.</p>
  
  <p>But, from the standard Comments widget, I'm never asked to grant permission to post - it just fails with error <code>1357010</code>. Toggling on/off "Also post on Facebook" makes no difference. </p>
  
  <p>Am I not authenticating in a 2.0 fashion?</p>
  
  <p>[UPDATE 2]</p>
  
  <p>It looks like my Open Graph Test User can Like a page, and then, after confirming, the user can Comment on the page form the resulting dialog from the Like widget.</p>
  
  <p>However, from a Comment widget, the comment is not successful and I get the generic error code 1357010.</p>
  
  <p>What do I need to do to authorize my OG Test User (v2.3 user) to submit comments from a standard Comments widget?</p>