Facebook graph API returns only name and id for some websites Facebook graph API returns only name and id for some websites php php

Facebook graph API returns only name and id for some websites


As CBroe already pointed out in the above comment, the Facebook API - newer than version 2.4 - changed the response and the way the requests are being sent.

You have to specify each field you want to be returned from the Graph API within your request.

For example, if you want the fields email and name returned, you must add them inside the request like this:

/me?fields=email,name