Facebook Graph Search API: type=post, can you limit by location? -
i'm wondering if there way have graph search call of type=post restrict results geographic location can when you're searching location example?
i tested using same parameters can use limit place search (center , distance) , didn't work. i'm wondering if can suggest trick here?
i know posts don't contain geo data why isn't enabled.
any suggestions?
thanks.
from facebook graph api docs docs
when retrieving posts via /home, /feed, or /posts connection, can restrict results location attached adding with=location url parameters: /me/home?with=location
checkins: /search?type=checkin (this request returns or friend's latest checkins, or checkins or friends have been tagged; currently, not accept q= parameter.)
objects location. following return information objects have location information attached. in addition, returned objects in or friend have been tagged, or objects created or friends. there important behavioral differences in results depending on permissions app has acquired. please see documentation location_post fql table more information.
to search objects near geographical location, use type=location , add center , distanceparameters: /search?type=location¢er=37.76,-122.427&distance=1000
to search objects @ particular place, use type=location , specify id of place. example posts @ facebook hq, use: /search?type=location&place=166793820034304
Comments
Post a Comment