smart4solutions / apex_oauth

PL/SQL packages enabling Google, Linkedin and Facebook login for apex
MIT License
39 stars 5 forks source link

Facebook get token issue #17

Closed tschf closed 7 years ago

tschf commented 7 years ago

Was getting an error missing access token, after debugging I found the response wasn't being properly parsed.

Looking at your code, I think they may have changed the response type from a string separated by & to be a JSON object.

Example response:

{"access_token":"-removed-","token_type":"bearer","expires_in":5183211}