title: OAuthException: This authorization code has been used - Facebook
body: <p>It seems like Facebook's new release on December 5th is causing some issues for me.  Is anyone else getting this error?</p>
  
  <blockquote>
    <p>Koala::Facebook::APIError (OAuthException: This authorization code has been used.)</p>
  </blockquote>
  
  <p>I am able to oauth, but when I issue a call, doing the following...I get the error. i.e. the below:</p>
  
  <pre><code>@friends = graph.get_object("/me/friends")
  </code></pre>
  
  <p>Here was the Facebook Update:</p>
  
  <blockquote>
    <p>New security restrictions for OAuth authorization codes We will only allow authorization codes to be exchanged for access tokens once and will require that they be exchanged for an access token within 10 minutes of their creation. This is in line with the OAuth 2.0 Spec which from the start has stated that "authorization codes MUST be short lived and single use". For more information, check out our Authentication documentation.</p>
  </blockquote>
  
  <p>If anyone could help, or even more specifically clarify what the Facebook update means, that would be really helpful.  I am getting this using the Rails Koala Gem.</p>
  
  <p>It seems to be reported here, but no answers have been helpful.</p>
  
  <p><a href="http://developers.facebook.com/bugs/121266004701942?browse=search_50c113068fae60719135553" rel="nofollow">http://developers.facebook.com/bugs/121266004701942?browse=search_50c113068fae60719135553</a></p>