Auth_token when login in with facebook does not allow access to api/v2/user

When a user logs in by using facebook an auth token is sent back trough the callback url hash. ex:
“#access_token=****************&expires_in=86400&token_type=Bearer”
This auth token allows to connect to /userinfo but when accessing to api/v2/user the API responds with:
{“statusCode”:400,“error”:“Bad Request”,“message”:“Bad HTTP authentication header format”,“errorCode”:“Bearer”}.

What am i doing wrong?

Hey there!

Sorry for such delay in response! We’re doing our best in providing the best developer support experience out there, but sometimes the number of incoming questions is just too big for our bandwidth. Sorry for such inconvenience!

Do you still require further assistance from us?