问题描述
有没有人知道有什么办法以编程方式列出所有Facebook子类别的地方?我在另一篇文章中看到这个列表,其中列出了所有类别(不是子类别),它与Facebook公司创建页面上的源代码相同:我想对一些企业进行分类Facebook让他们更容易消化,但似乎有一半的企业选择本地企业或地方下的本地业务。对于大多数企业来说,大部分业务都无法满足您的需求并不是很有帮助。
以下是一个分类为具有子类别的本地业务的地方的示例。获取完整的子类别列表将是非常有帮助的。感谢您的帮助。
{
page_id:xxxxx,
description: ,
name:xxxxx Lounge,
categories:[
{
id:110290705711626,
name:Bar
}
],
pic_big:xxxxx.png,
type:LOCAL BUSINESS
},
Facebook只是对其图形API进行了一些更改。可以在Graph API资源管理器中查看所有子类别(其中称为地点主题)的列表:
API调用本身是:
它具有完整的分类标准,因为所有主题都列出了他们的父主题,但如果您想要双向关系,则必须对其进行逆向工程小精灵。
为了避免混淆,可能值得注意的是,Facebook称之为类别是更高级别的页面分类故障。每个页面只能有类别,所以没有任何内置的分类法,但他们可以有很多页面主题。我不知道在哪里或完整的列表是在线,但是这是(对不起丑,我有一些格式化问题):
需要位置信息的类别:
category category_enum描述
1111 MOVIE_THEATER电影院
1209 CONCERT_VENUE音乐会地点
1305 BOOK_STORE书店
1306图书馆图书馆
1607律师律师
1608医生博士
1900 RESTAURANT_CAFE餐厅/咖啡厅
2100 BAR酒吧
2101 CLUB俱乐部
2231 SPORTS_OUTDOORS户外装备/运动用品
2500当地本地商务
2501 HOTEL酒店
2506机场机场
2507 SPORTS_VENUE体育场馆
2508 ARTS_ENTERTAINMENT艺术/娱乐/夜生活
2509 AUTOMOTIVE Automotive
2510 SPA_BEAUTY水疗/美容/个人护理
2511 EVENT_PLANNING活动策划/活动服务
2512 BANKS银行/金融服务
2513 FOOD_GROCERY食品/杂货
2514健康/健康/医疗/药房
2515 HOME_IMPROVEMENT家居改善
2516 PET_SERVICES宠物服务
2517 PR OFESSIONAL_SERVICES专业服务
2518 BUSINESS_SERVICES商务服务
2519 COMMUNITY_GOVERNMENT社区/政府
2520 REAL_ESTATE房地产
2521 SHOPPING_RETAIL购物/零售
2524 SPORTS_RECREATION运动/娱乐/活动
2525 TOURS_SIGHTSEEING旅游/观光
2526运输_旅游交通
2527 HOSPITAL_CLINIC医院/诊所
2528博物馆/美术馆
不需要类别位置信息:
category category_enum描述
1201宋松
1200 ALBUM相册
1202 MUSICIAN_BAND音乐家/乐队
1204 MUSIC_INSTRUMENT乐器
1206播放列表
1207 MUSIC_VIDEO音乐视频
1208 CONCERT_TOUR音乐会
1210 RADIO_STATION广播电台
1211 RECORD_LABEL记录标签
1212 MUSIC_AWARD音乐奖
1213 MUSIC_CHART音乐图表
1105 MOVIE电影
1103 ACTOR_DIRECTOR演员/导演
1108 PRODUCER制片人
1109 MOVIE_WRITER作家
1110 MOVIE_STUDIO Studio
1112 TV_MOVIE_AWARD电视/电影奖
1113 FICTIONAL_CHARACTER虚构人物
1400 TV_SHOW电视节目
1402 TV_NETWORK电视网
1404 TV_CHANNEL电视频道
1405 EPISODE Episode
1300 BOOK Book
1301作者作者
1304 PUBLISHER出版社
1308编辑编辑
1307杂志杂志
1600 ATHLETE运动员
1700 POLITICIAN政治家
1601艺术家艺术家
1701政府官员政府官员
1602 PERSON公开图
1605 NEWS_PERSONALITY新闻个性
1604 JOURNALIST记者
1606 CHEF厨师
1609 BUSINESS_PERSON商务人士
1610 COMEDIAN喜剧演员
1611 ENTERTAINER艺人
1612 MONARCH Monarch
1613 TEACHER Teacher
1614 DANCER舞者
1901菜肴美食
2000食物食物
2001饮料饮料
2202网站网站
2205 CAR Cars
2206 BAGS_LUGGAGE包/行李
2208 CAMERA_PHOTO相机/照片
2209服装
2210计算机电脑
2211软件软件
2212 OFFICE_SUPPLIES办公用品
2213电子电器
2215电器家电
2216 BUILDING_MATS Building材料
2217 COMMERCIAL_EQUIPMENT商业设备
2218 HOME_DECOR家居装饰品
2219家具家具
2220 HOUSEHOLD_SUPPLIES家居用品
2221厨房/厨房/烹饪
2222 PATIO_GARDEN天井/花园
2223 TO OLS_EQUIPMENT工具/设备
2224 WINE_SPIRITS葡萄酒/烈酒
2226 JEWELRY_WATCHES珠宝/手表
2227 MOVIES_MUSIC电影/音乐
2230 PET_SUPPLIES宠物用品
2232 BABY_KIDS婴儿用品/儿童用品
2262 VITAMIN_SUPPLEMENTS维生素/补品
2263药物药物
2201 PRODUCT_SERVICE产品/服务
2300游戏游戏/玩具
2301 APP应用页
2505 TRANSIT_STOP过境站
2523景点/景点
2503 LANDMARK地标
25 22 PARKS_POI公共场所
2200公司公司
2233 MEDIA_NEWS_COMPANY媒体/新闻/出版
2234 BANK_FINANCIAL_COMPANY银行/金融机构
2235非政府组织非政府组织(NGO)
2236 INSURANCE_COMPANY保险公司
2237 SMALL_BUSINESS小企业
2238 ENERGY_COMPANY能源/效用
2239 RETAIL_COMPANY零售和消费品商品
2240 AUTO_COMPANY汽车零件
2241 INDUSTRIALS_COMPANY工业
2242 TRANSPORT_FREIGHT运输/运费
2243 HEALTH_COMPANY健康/医疗/ p>
2214 HEALTH_BE AUTY健康/美容
2244 AEROSPACE_COMPANY航空航天/国防
2245 MINING_COMPANY采矿/材料
2246 FARMING_COMPANY农业/农业
2247 CHEMICAL_COMPANY化学品
2248 CONSULTING_COMPANY咨询/业务服务
2249 LEGAL_COMPANY法律/法律
2250 EDUCATION_COMPANY教育
2251 ENGINEERING_COMPANY工程/施工
2252 FOOD_COMPANY食物/饮料
2253 TELECOM电信
2254 BIOTECH_COMPANY生物技术
2255 COMPUTER_COMPANY电脑/技术
2256 INTERNET_COMPANY互联网/软件
2258 TRAVE L_COMPANY旅游/休闲
2260 COMMUNITY_ORG社区组织
2261政治组织政治组织
2264宗教信仰教会/宗教组织
2600 ORG_GENERAL组织
2601 SCHOOL学校
2602大学大学
2604政府机构政府机构
2603 NON_PROFIT非营利组织
2606原因原因
2618 POLITICAL_PARTY政党
2612社区社区
1800 SPORTS_LEAGUE体育联盟
1801 SPORTS_TEAM专业运动团队
1802 COACH Coach
1803 AMATEUR_TEAM业余体育队
1804 SCHOOL_TEAM学校体育队
2700 PERSONAL_BLOG个人博客
2701 ARTS_SITE艺术/人文网站
2702 BIZ_SITE商业/经济网站
2703 COMPUTER_SITE电脑/互联网网站
2704 EDU_SITE教育网站
2705 ENTERTAINMENT_SITE娱乐网站
2706 GOV_SITE政府网站
2707 HEALTH_SITE健康/健康网站
2708 HOME_SITE家庭/花园网站
2709 NEWS_SITE新闻/媒体网站
2710 REC_SITE娱乐/体育网站
2711 REF_SITE参考网站
2712 REGIONAL_SITE区域网站
2713 SCIENCE_SITE科学网站
2714 SOCIETY_SITE社会/文化网站
2715 TRAVEL_SITE本地/旅游网站
2716 KIDS_SITE青少年/儿童网站
2717 PERSONAL_SITE个人网站
Does anyone know of any way to programmatically list all Facebook subcategories for places? I've seen this list here in another post which lists all categories (not subcategories), which is the same listed in the source code on the Facebook company creation page: Facebook Pages — Authoritative List of Categories
I'd like to categorize some businesses on Facebook so that they're easier to digest, but it seems that half of all businesses pick the category "local business" under "local business or place." Not really helpful to have the majority of all businesses in one catch all bucket.
Here's an example of a place categorized as local business with a subcategory of bar. Would be really helpful to get a full list of the subcategories. Thanks for the help.
{
"page_id": xxxxx,
"description": "",
"name": "xxxxx Lounge",
"categories": [
{
"id": 110290705711626,
"name": "Bar"
}
],
"pic_big": "xxxxx.png",
"type": "LOCAL BUSINESS"
},
Facebook just made some changes to their graph API. The list of all subcategories (which Facebook calls "place topics") can be viewed in the Graph API Explorer here:
The API call itself is:
It has the full taxonomy in that all topics list their parent topics, but if you wanted a bidirectional relationship, you would have to reverse engineer it yourself.
To avoid confusion it might be worth noting that what Facebook calls "Categories" is a higher level breakdown of page categorization. Each page can only have on Category, so there isn't any built in taxonomy, but they can have many Page Topics. I'm not sure where or if the full list is online, but it's this (Sorry for the ugly; I had some formatting issues):
Categories requiring location info:
category category_enum Description
1111 MOVIE_THEATER Movie Theater
1209 CONCERT_VENUE Concert Venue
1305 BOOK_STORE Book Store
1306 LIBRARY Library
1607 LAWYER Lawyer
1608 DOCTOR Doctor
1900 RESTAURANT_CAFE Restaurant/Cafe
2100 BAR Bar
2101 CLUB Club
2231 SPORTS_OUTDOORS Outdoor Gear/Sporting Goods
2500 LOCAL Local Business
2501 HOTEL Hotel
2506 AIRPORT Airport
2507 SPORTS_VENUE Sports Venue
2508 ARTS_ENTERTAINMENT Arts/Entertainment/Nightlife
2509 AUTOMOTIVE Automotive
2510 SPA_BEAUTY Spas/Beauty/Personal Care
2511 EVENT_PLANNING Event Planning/Event Services
2512 BANKS Bank/Financial Services
2513 FOOD_GROCERY Food/Grocery
2514 HEALTH_MEDICAL Health/Medical/Pharmacy
2515 HOME_IMPROVEMENT Home Improvement
2516 PET_SERVICES Pet Services
2517 PROFESSIONAL_SERVICES Professional Services
2518 BUSINESS_SERVICES Business Services
2519 COMMUNITY_GOVERNMENT Community/Government
2520 REAL_ESTATE Real Estate
2521 SHOPPING_RETAIL Shopping/Retail
2524 SPORTS_RECREATION Sports/Recreation/Activities
2525 TOURS_SIGHTSEEING Tours/Sightseeing
2526 TRANSPORTATION_TOURISM Transportation
2527 HOSPITAL_CLINIC Hospital/Clinic
2528 MUSEUM Museum/Art Gallery
Categories not requiring location info:
category category_enum Description
1201 SONG Song
1200 ALBUM Album
1202 MUSICIAN_BAND Musician/Band
1204 MUSIC_INSTRUMENT Musical Instrument
1206 PLAYLIST Playlist
1207 MUSIC_VIDEO Music Video
1208 CONCERT_TOUR Concert Tour
1210 RADIO_STATION Radio Station
1211 RECORD_LABEL Record Label
1212 MUSIC_AWARD Music Award
1213 MUSIC_CHART Music Chart
1105 MOVIE Movie
1103 ACTOR_DIRECTOR Actor/Director
1108 PRODUCER Producer
1109 MOVIE_WRITER Writer
1110 MOVIE_STUDIO Studio
1112 TV_MOVIE_AWARD TV/Movie Award
1113 FICTIONAL_CHARACTER Fictional Character
1400 TV_SHOW TV Show
1402 TV_NETWORK TV Network
1404 TV_CHANNEL TV Channel
1405 EPISODE Episode
1300 BOOK Book
1301 AUTHOR Author
1304 PUBLISHER Publisher
1308 EDITOR Editor
1307 MAGAZINE Magazine
1600 ATHLETE Athlete
1700 POLITICIAN Politician
1601 ARTIST Artist
1701 GOVERNMENT_OFFICIAL Government Official
1602 PERSON Public Figure
1605 NEWS_PERSONALITY News Personality
1604 JOURNALIST Journalist
1606 CHEF Chef
1609 BUSINESS_PERSON Business Person
1610 COMEDIAN Comedian
1611 ENTERTAINER Entertainer
1612 MONARCH Monarch
1613 TEACHER Teacher
1614 DANCER Dancer
1901 CUISINE Cuisine
2000 FOOD Food
2001 DRINK Drink
2202 WEBSITE Website
2205 CAR Cars
2206 BAGS_LUGGAGE Bags/Luggage
2208 CAMERA_PHOTO Camera/Photo
2209 CLOTHING Clothing
2210 COMPUTER Computers
2211 SOFTWARE Software
2212 OFFICE_SUPPLIES Office Supplies
2213 ELECTRONICS Electronics
2215 APPLIANCES Appliances
2216 BUILDING_MATS Building Materials
2217 COMMERCIAL_EQUIPMENT Commercial Equipment
2218 HOME_DECOR Home Decor
2219 FURNITURE Furniture
2220 HOUSEHOLD_SUPPLIES Household Supplies
2221 KITCHEN_SUPPLIES Kitchen/Cooking
2222 PATIO_GARDEN Patio/Garden
2223 TOOLS_EQUIPMENT Tools/Equipment
2224 WINE_SPIRITS Wine/Spirits
2226 JEWELRY_WATCHES Jewelry/Watches
2227 MOVIES_MUSIC Movies/Music
2230 PET_SUPPLIES Pet Supplies
2232 BABY_KIDS Baby Goods/Kids Goods
2262 VITAMIN_SUPPLEMENTS Vitamins/Supplements
2263 DRUGS Drugs
2201 PRODUCT_SERVICE Product/Service
2300 GAME Games/Toys
2301 APP App Page
2505 TRANSIT_STOP Transit Stop
2523 ATTRACTIONS Attractions/Things to Do
2503 LANDMARK Landmark
2522 PARKS_POI Public Places
2200 COMPANY Company
2233 MEDIA_NEWS_COMPANY Media/News/Publishing
2234 BANK_FINANCIAL_COMPANY Bank/Financial Institution
2235 NGO Non-Governmental Organization (NGO)
2236 INSURANCE_COMPANY Insurance Company
2237 SMALL_BUSINESS Small Business
2238 ENERGY_COMPANY Energy/Utility
2239 RETAIL_COMPANY Retail and Consumer Merchandise
2240 AUTO_COMPANY Automobiles and Parts
2241 INDUSTRIALS_COMPANY Industrials
2242 TRANSPORT_FREIGHT Transport/Freight
2243 HEALTH_COMPANY Health/Medical/Pharmaceuticals
2214 HEALTH_BEAUTY Health/Beauty
2244 AEROSPACE_COMPANY Aerospace/Defense
2245 MINING_COMPANY Mining/Materials
2246 FARMING_COMPANY Farming/Agriculture
2247 CHEMICAL_COMPANY Chemicals
2248 CONSULTING_COMPANY Consulting/Business Services
2249 LEGAL_COMPANY Legal/Law
2250 EDUCATION_COMPANY Education
2251 ENGINEERING_COMPANY Engineering/Construction
2252 FOOD_COMPANY Food/Beverages
2253 TELECOM Telecommunication
2254 BIOTECH_COMPANY Biotechnology
2255 COMPUTER_COMPANY Computers/Technology
2256 INTERNET_COMPANY Internet/Software
2258 TRAVEL_COMPANY Travel/Leisure
2260 COMMUNITY_ORG Community Organization
2261 POLITICAL_ORG Political Organization
2264 RELIGIOUS_ORG Church/Religious Organization
2600 ORG_GENERAL Organization
2601 SCHOOL School
2602 UNIVERSITY University
2604 GOVERNMENT_ORG Government Organization
2603 NON_PROFIT Non-Profit Organization
2606 CAUSE Cause
2618 POLITICAL_PARTY Political Party
2612 COMMUNITY Community
1800 SPORTS_LEAGUE Sports League
1801 SPORTS_TEAM Professional Sports Team
1802 COACH Coach
1803 AMATEUR_TEAM Amateur Sports Team
1804 SCHOOL_TEAM School Sports Team
2700 PERSONAL_BLOG Personal Blog
2701 ARTS_SITE Arts/Humanities Website
2702 BIZ_SITE Business/Economy Website
2703 COMPUTER_SITE Computers/Internet Website
2704 EDU_SITE Education Website
2705 ENTERTAINMENT_SITE Entertainment Website
2706 GOV_SITE Government Website
2707 HEALTH_SITE Health/Wellness Website
2708 HOME_SITE Home/Garden Website
2709 NEWS_SITE News/Media Website
2710 REC_SITE Recreation/Sports Website
2711 REF_SITE Reference Website
2712 REGIONAL_SITE Regional Website
2713 SCIENCE_SITE Science Website
2714 SOCIETY_SITE Society/Culture Website
2715 TRAVEL_SITE Local/Travel Website
2716 KIDS_SITE Teens/Kids Website
2717 PERSONAL_SITE Personal Website
这篇关于所有Facebook子类别的权威列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!