baasbox / Android-SDK

BaasBox Android SDK
Apache License 2.0
27 stars 26 forks source link

How to fetch other user profile anonymously #38

Closed nlubello closed 9 years ago

nlubello commented 9 years ago

Hi, I've tried to use the BaasUser.fetch() method but it gives this message: {"result":"error","message":"Missing both Session Token and Authorization info","resource":"/user/****","method":"GET","request_header":{"X-BAASBOX-APPCODE":["1234567890"],"Connection":["Keep-Alive"],"Accept-Encoding":["gzip"],"User-Agent":["BaasBox AndroidSDK/0.8.4"],"Host":["www.XXXXX.com:9000"]},"API_version":"0.9.1-20150112-nightly","http_code":401}

So it's how it's possible to get the visibleByAnonymousUsers property of BaasUser??

Thanks in advance

giastfader commented 9 years ago

This is a server-side bug, your call has to work. Thank you for your advice. I open an issue on the server repo