我已經構建了以下FQL查詢,但我遇到了添加過濾器的問題。通過category_list的FQL查詢
SELECT
about,
attire,
categories,
checkins,
company_overview,
culinary_team,
description,
fan_count,
food_styles,
founded,
general_info,
general_manager,
hours,
keywords,
location,
mission,
name,
page_id,
page_url,
parent_page,
parking,
payment_options,
phone,
price_range,
products,
public_transit,
restaurant_services,
restaurant_specialties,
talking_about_count,
TYPE,
username,
website,
were_here_count,
pic
FROM page
WHERE page_id IN
(SELECT
page_id,
latitude,
longitude
FROM place
WHERE distance(latitude, longitude, '-30.03852', '-51.17877') < 50000
LIMIT 10)
問題是我只想要與餐廳相關的頁面。我想我可以通過頁面表中的「類別」進行過濾,但我不知道使用哪種方法。
我該怎麼做?哪裏是我可以使用的可用方法的文檔(類似categories.contains(「餐廳」))
謝謝!
類別被鍵入爲數組 - https://developers.facebook.com/docs/reference/fql/page – MatheusJardimB