iOS Facebook SDK searching for users with Graph se

2019-07-04 03:43发布

问题:

I am new to Graph Search, and I want to search for a user with an email address. Is that possible? Right now, I only know how to search with their name, like this:

https://graph.facebook.com/search?q=chandler+de+angelis&type=user&access_token={access_token}

I have an email address, and I need to check if there is a Facebook account with the same email address. How can I accomplish this?

回答1:

The answer to this is from Facebook themselves. In post at https://developers.facebook.com/bugs/335452696581712 a Facebook dev says

The ability to pass in an e-mail address into the "user" search type was removed on July 10, 2013. This search type only returns results that match a user's name (including alternate name).

That's Facebook's new rules.