nested exception is org.jinstagram.auth.exceptions.OAuthException: Cannot extract an acces token
catinwarmhands opened this issue · 5 comments
catinwarmhands commented
Im getting this error after redirect from instagram login page
This error also occurs on http://jinstagram-sachinhandiekar.rhcloud.com/BasicWebDemo/
Screenshots:
(BasicWebDemo) http://pasteboard.co/1FCcrO2A.png
(My site) http://pasteboard.co/1FBWMdNW.png
z4f1r0v commented
Same thing here. This is due to the fact that Instagram API returns a white space between the "access_token" key and value as such "access_token": "1231231231231"
. The regex that is supposed to match that fails since it assumes there is no whitespace.
Should I make a quick fix PR? In the future should we not use regex but instead some JSON parsing?
catinwarmhands commented
Can you fix it?
catinwarmhands commented
Thanks you a lot!
sachin-handiekar commented
Fixed in #151... Closing this issue.