While fetching: https://api.facebook.com/method/开发者_运维知识库fql.query?query=Select+page_id,page_url,name,pic,website,type,location,fan_count,phone+from+page+where+name%20%20=%22SPA%22 i am getting all exact match results with "SPA" But how to get other which will match "sp" as well. Like when we use like operator in fql i am getting problem. Please suggest me with solution
here you go:
WHERE strpos(lower(name), 'sp') >= 0
Hence there is no LIKE operator in FQL, you will have to use other alternative. I hope this link will suggest you some way:
Does facebook fql contain the sql like operator?
精彩评论