Get user FB credits balance return empty array for several users

432 views Asked by At

I'm trying to fetch my player credits balance.

My server calls this URL: https://api.facebook.com/method/users.getStandardinfo?uids=XXX&fields=credit_balance&access_token=XXX&format=json

For my user and others, it works. But, for several users (who have FB credits), the response I get is: [] (an empty array). So, I don't get an error, but I also don't get any result...

Anyone know why?

Thanks, Roei

1

There are 1 answers

6
DMCS On

Per https://developers.facebook.com/docs/reference/rest/ the REST API is being deprecated. You should use the Graph API now. Please try with the new API and maybe your issue is fixed in it.