Koala::Facebook::APIError (OAuthException: This authorization code has been used.):

972 views
Skip to first unread message

greg

unread,
Dec 6, 2012, 4:19:53 PM12/6/12
to koala...@googlegroups.com
Is anybody getting this error with the new Facebook release?

Here was the release that went into effect 12/5.  I'm now getting this error with every call...

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.

eEnergy

unread,
Dec 10, 2012, 4:55:47 PM12/10/12
to koala...@googlegroups.com
I'm getting the same error. Working to modify the code.

greg

unread,
Dec 11, 2012, 11:01:12 PM12/11/12
to koala...@googlegroups.com
Thanks. Any chance you found a solution?

greg

unread,
Dec 11, 2012, 11:01:37 PM12/11/12
to koala...@googlegroups.com

eEnergy

unread,
Dec 12, 2012, 7:11:04 PM12/12/12
to koala...@googlegroups.com
I got distracted on another project. I however plan to switch to Omniauth. I was using Koala. I'm guessing that using Omniauth may be easier than modifying my Koala code to comply with the Dec 5th FB change. I'll let you when I succeed. 

greg

unread,
Dec 27, 2012, 6:12:10 PM12/27/12
to koala...@googlegroups.com
Does OmniAuth prevent this problem?  Anyone else succeed here?

Alex Koppel

unread,
Jan 15, 2013, 2:27:49 PM1/15/13
to koala...@googlegroups.com
Hey all,

This is a bit late, but there was an issue in the Koala Github repo for this -- if you're still having OAuth code issues, that might have some helpful reference.  Facebook made a pre-announced change in December to how OAuth codes are handled, and that's broken some application flows.


Happy new year and best wishes,

Alex
Reply all
Reply to author
Forward
0 new messages