Graph call "/me/friends" doesn't contain names if called from a testuser

Posted by Marc on Stack Overflow See other posts from Stack Overflow or by Marc
Published on 2011-11-25T01:30:51Z Indexed on 2011/11/30 1:50 UTC
Read the original article Hit count: 276

Filed under:

When I log into Facebook with my account and call the Graph API with /me/friends it returns an array like this:

[
    {id: "6868...", name: "John Smith"}, 
    {id: "7531...", name: "Diane Smith"}, 
    ...
]

But if I'm logged in with a Facebook testuser and do the same call I get an array like this:

[
    {id: "100002927..."}, 
    {id: "100003151..."}, 
    ...
]

So I'm missing the name property.

Bug? Or did I some mistake? I'm using the JS SDK, but I think that doesn't matter.

© Stack Overflow or respective owner

Related posts about facebook-graph-api