简体   繁体   中英

Facebook user search with graph api returns an empty array

I'm getting an empty Array on user search if the query is not specific.

Meaning, when I use: https://graph.facebook.com/search?q=shlomi.schwartz&type=user&access_token=AAAAAAITEghMBAE5LVc14njXWThH8LE8kxGlCYAUwShVMmNSFixn85pk1baLMAC8gJaqX5QHVEOpwebUv5ilYiW09yThHCxaMJdQa9QZDZD

I'm getting the result

But if I remove 1 letter from the user name I'm getting an empty array: https://graph.facebook.com/search?q=shlomi.schwart&type=user&access_token=AAAAAAITEghMBAE5LVc14njXWThH8LE8kxGlCYAUwShVMmNSFixn85pk1baLMAC8gJaqX5QHVEOpwebUv5ilYiW09yThHCxaMJdQa9QZDZD

I'm trying to implement an auto-complete input for user search, any idea?

Google is your friend, its reported buggy since a july . http://developers.facebook.com/bugs/104388699704651/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM