flask-social-blueprint icon indicating copy to clipboard operation
flask-social-blueprint copied to clipboard

facebook.GraphAPIError

Open bulletproofsysadmin opened this issue 9 years ago • 7 comments

When testing this I get the following when trying to perform basic authentication to facebook. GraphAPIError: An active access token must be used to query information about the current user.

bulletproofsysadmin avatar Dec 19 '15 03:12 bulletproofsysadmin

BTW I'm getting an access_token back from core.login. I'm just not certain that the model is handling it properly.

bulletproofsysadmin avatar Dec 19 '15 03:12 bulletproofsysadmin

I submitted pull request #15 which addresses this bug. Looks like it was a compatibility-breaking change in the latest Facebook Python SDK which mangled the querystring such that the access token wasn't being passed down.

toddetzel avatar Dec 20 '15 03:12 toddetzel

same issue: An active access token must be used to query information about the current user

Arti3DPlayer avatar Dec 23 '15 22:12 Arti3DPlayer

Can you update pip version please ?

Arti3DPlayer avatar Dec 24 '15 14:12 Arti3DPlayer

Yes, I'll do that, give a me a minute please. I want to update the test env first… and it's Christmas ;)

wooyek avatar Dec 24 '15 18:12 wooyek

Thanks, Janusz! Merry Christmas to you. :)

toddetzel avatar Dec 24 '15 19:12 toddetzel

Please check if it's ok now.

PS. There are issues with Github provider on GAE #18, but they seem to work ok locally.

wooyek avatar Dec 25 '15 22:12 wooyek