I'm trying to search for groups in Facebook using FacePY and cannot get a wildcard search happening either with FQL or with search.
What I want to have happen is the equivalent of what you get with this:
https://www.facebook.com/search/results.php?q=WORDS&type=groups
My python code looks like this:
graph = GraphAPI(access_token)
data = graph.search(type="group",term="words", page=False, retry=3)
with open('fb-teacher-groups.json', 'w') as outfile:
json.dump(data, outfile, indent = 4,cls=DecimalEncoder)
Anybody have any ideas how you'd do a wildcard search of the type SELECT name, gid FROM group WHERE name like "%words%"
I know that you cannot do the above in FQL as name is not an indexed field.
All help much appreciated