ماهو - posts liked by someone on facebook




صفحات فيس بوك-قائمة فئات موثوقة (8)

150 فئة اعتبارًا من 3 حزيران 2014 ، API الإصدار 2.0. يجب أن تلاحظ أن هذه ليست سوى الفئات الرئيسية للصفحة. تحتوي كل صفحة Facebook على حقل صفيف category_list يحتوي على فئات فرعية غير معروضة هنا. يمكنك الحصول على قائمة بجميع الفئات الفرعية للأماكن عبر واجهة برمجة التطبيقات الخاصة بالرسم البياني بواسطة هذا الاستعلام: search?type=place_topic&topic_filter=all

FYI منذ تغيير فيسبوك طوال الوقت ، وأسهل طريقة للحصول على القائمة هو أن تفعل كما اقترحRichSutton والانتقال إلى صفحة إنشاء صفحة ، وتفحّص العنصر في القوائم المنسدلة. 5-6-نسخ النسخ ، regex لاحقا لديك قائمة كاملة (مع بعض التكرارات).

1103, Actor/Director
1105, Movie
1108, Producer
1109, Writer
1110, Studio
1111, Movie Theater
1112, TV/Movie Award
1113, Fictional Character
1114, Movie Character
1200, Album
1201, Song
1202, Musician/Band
1207, Music Video
1208, Concert Tour
1209, Concert Venue
1210, Radio Station
1211, Record Label
1212, Music Award
1213, Music Chart
1300, Book
1301, Author
1305, Book Store
1306, Library
1307, Magazine
1309, Book Series
1400, TV Show
1402, TV Network
1404, TV Channel
1600, Athlete
1601, Artist
1602, Public Figure
1604, Journalist
1605, News Personality
1606, Chef
1607, Lawyer
1608, Doctor
1609, Business Person
1610, Comedian
1611, Entertainer
1613, Teacher
1614, Dancer
1615, Designer
1616, Photographer
1617, Entrepreneur
1700, Politician
1701, Government Official
1800, Sports League
1801, Professional Sports Team
1802, Coach
1803, Amateur Sports Team
1804, School Sports Team
1900, Restaurant/Cafe
2100, Bar
2101, Club
2200, Company
2201, Product/Service
2202, Website
2205, Cars
2206, Bags/Luggage
2208, Camera/Photo
2209, Clothing
2210, Computers
2211, Software
2212, Office Supplies
2213, Electronics
2214, Health/Beauty
2215, Appliances
2216, Building Materials
2217, Commercial Equipment
2218, Home Decor
2219, Furniture
2220, Household Supplies
2221, Kitchen/Cooking
2222, Patio/Garden
2223, Tools/Equipment
2224, Wine/Spirits
2226, Jewelry/Watches
2230, Pet Supplies
2231, Outdoor Gear/Sporting Goods
2232, Baby Goods/Kids Goods
2233, Media/News/Publishing
2234, Bank/Financial Institution
2235, Non-Governmental Organization (NGO)
2236, Insurance Company
2237, Small Business
2238, Energy/Utility
2239, Retail and Consumer Merchandise
2240, Automobiles and Parts
2241, Industrials
2242, Transport/Freight
2243, Health/Medical/Pharmaceuticals
2244, Aerospace/Defense
2245, Mining/Materials
2246, Farming/Agriculture
2247, Chemicals
2248, Consulting/Business Services
2249, Legal/Law
2250, Education
2251, Engineering/Construction
2252, Food/Beverages
2253, Telecommunication
2254, Biotechnology
2255, Computers/Technology
2256, Internet/Software
2258, Travel/Leisure
2260, Community Organization
2261, Political Organization
2262, Vitamins/Supplements
2263, Drugs
2264, Church/Religious Organization
2265, Phone/Tablet
2300, Games/Toys
2301, App Page
2302, Video Game
2303, Board Game
2500, Local Business
2501, Hotel
2503, Landmark
2506, Airport
2507, Sports Venue
2508, Arts/Entertainment/Nightlife
2509, Automotive
2510, Spas/Beauty/Personal Care
2511, Event Planning/Event Services
2512, Bank/Financial Services
2513, Food/Grocery
2514, Health/Medical/Pharmacy
2515, Home Improvement
2516, Pet Services
2517, Professional Services
2518, Business Services
2519, Community/Government
2520, Real Estate
2521, Shopping/Retail
2522, Public Places
2523, Attractions/Things to Do
2524, Sports/Recreation/Activities
2525, Tours/Sightseeing
2526, Transportation
2527, Hospital/Clinic
2528, Museum/Art Gallery
2600, Organization
2601, School
2602, University
2603, Non-Profit Organization
2604, Government Organization
2606, Cause
2618, Political Party
2632, Pet
2637, Middle School

أحاول التعرف على اهتمامات مستخدم Facebook استنادًا إلى الصفحات التي يفضلها ، وما إلى ذلك. سيكون من المفيد الحصول على قائمة بفئات الصفحات المحتملة. لقد قمت بإنشاء قائمة تقريبية استنادًا إلى القوائم المنسدلة من نموذج إنشاء الصفحة ، ولكن تختلف القيم في ذلك اختلافًا طفيفًا عن تلك التي تم إرجاعها بواسطة واجهة برمجة تطبيقات Graph (على سبيل المثال "Sports_teams" بدلاً من "فريق رياضي").

إذن ، ما أود معرفته هو:

  1. أين يمكنني العثور على قائمة كاملة بالفئات المتاحة ، بالشكل الذي سأراه عند استجواب واجهة برمجة تطبيقات Graph؟
  2. هل هذه السلاسل مترجمة؟ إذا كان الأمر كذلك ، أين يمكنني العثور على en_GB؟

شكرا مقدما لمساعدتكم.

روس

راجع للشغل ، قائمة الفئات هي:

19,Band
19,Musician
68,Restaurant
88,Film
89,TV Programme
91,Technology product/service
92,Financial Service
94,Fashion
108,Museum/attraction
109,Park
110,Travel
111,Hotel/B&B/Hostel
112,Hotel/B&B/Hostel
113,Travel service
114,Airline/Ship/Train Station
115,Convention or sports centre
116,Car Hire
117,Home living
121,Café
123,Health and beauty
124,Education
125,Event planning service
126,Banking and financial service
127,Technology and telecommunications service
129,Medical service
130,Home service
131,Car Dealer/Vehicle Service
132,Local business
133,Pharmaceutical
134,Pets
135,Professional service
136,Professional service
137,Property
138,Food & drink
139,Supermarket
140,Automotive
141,Consumer product
142,Sports/athletics
143,Retail
144,Shop
145,Online shop
147,Religious organisation
148,Religious centre
149,Library/Public Building
150,Government
151,Politician
152,Non-profit
154,Game
156,Sports team
157,Actor
158,Model
159,Comedian
160,Visual artist
161,Writer
162,Critic
163,Public figure
164,Club
165,Pub/bar
167,Website
169,Athlete
170,Communications
176,Products
349,Government Official

أخذت وقتًا لتوثيق برنامج نصي يمكنه التقاط البيانات أعلاه بتنسيق JSON. لأي شخص مهتم ، تحقق من هذا gist . قائمة الفئات التي حصلت عليها اعتبارًا من 23 مارس 2012 هي:

{
  "1105": "Movie",
  "1108": "Producer",
  "1109": "Writer",
  "1112": "TV/Movie Award",
  "1113": "Fictional Character",
  "1114": "Movie Character",
  "1200": "Album",
  "1201": "Song",
  "1207": "Music Video",
  "1208": "Concert Tour",
  "1210": "Radio Station",
  "1211": "Record Label",
  "1212": "Music Award",
  "1213": "Music Chart",
  "1300": "Book",
  "1301": "Author",
  "1307": "Magazine",
  "1309": "Book Series",
  "1400": "TV Show",
  "1402": "TV Network",
  "1404": "TV Channel",
  "1600": "Athlete",
  "1601": "Artist",
  "1602": "Public Figure",
  "1604": "Journalist",
  "1605": "News Personality",
  "1606": "Chef",
  "1607": "Lawyer",
  "1610": "Comedian",
  "1613": "Teacher",
  "1614": "Dancer",
  "1617": "Entrepreneur",
  "1700": "Politician",
  "1701": "Government Official",
  "1800": "Sports League",
  "1801": "Sports Team",
  "1802": "Coach",
  "1803": "Amateur Sport Team",
  "1804": "School Sports Team",
  "2200": "Company",
  "2201": "Product/Service",
  "2202": "Website",
  "2205": "Cars",
  "2206": "Bags/Luggage",
  "2208": "Camera/Photo",
  "2209": "Clothing (Brand)",
  "2210": "Computers (Brand)",
  "2211": "Software",
  "2213": "Electronics",
  "2214": "Health/Beauty",
  "2216": "Building Materials",
  "2217": "Commercial Equipment",
  "2219": "Furniture",
  "2220": "Household Supplies",
  "2222": "Patio/Garden",
  "2223": "Tools/Equipment",
  "2224": "Wine/Spirits",
  "2226": "Jewelry/Watches",
  "2230": "Pet Supplies",
  "2231": "Outdoor & Sporting Goods Company",
  "2232": "Baby Goods/Kids Goods",
  "2233": "Media/News Company",
  "2234": "Finance Company",
  "2235": "Non-Governmental Organization (NGO)",
  "2236": "Insurance Company",
  "2238": "Energy Company",
  "2239": "Retail Company",
  "2240": "Automotive Company",
  "2241": "Industrial Company",
  "2243": "Medical Company",
  "2244": "Aerospace Company",
  "2245": "Mining Company",
  "2246": "Agriculture Company",
  "2248": "Consulting Agency",
  "2249": "Legal Company",
  "2250": "Education",
  "2252": "Food & Beverage Company",
  "2253": "Telecommunication Company",
  "2255": "Computer Company",
  "2256": "Internet Company",
  "2257": "Tobacco Company",
  "2258": "Travel Company",
  "2262": "Vitamins/Supplements",
  "2263": "Pharmaceuticals",
  "2265": "Phone/Tablet",
  "2300": "Games/Toys",
  "2301": "App Page",
  "2303": "Board Game",
  "2500": "Local Business",
  "2505": "Transit Stop",
  "2601": "School",
  "2602": "College & University",
  "2603": "Non-Profit Organization",
  "2606": "Cause",
  "2618": "Political Party",
  "2632": "Pet",
  "2637": "Middle School",
  "1757592557789532": "Advertising/Marketing Service",
  "1574325646194878": "Agriculture",
  "128966563840349": "Airport",
  "1086422341396773": "Apparel",
  "133436743388217": "Arts & Entertainment",
  "180410821995109": "Automotive",
  "125178521242121": "Aviation",
  "110290705711626": "Bar",
  "139225689474222": "Beauty",
  "197048876974331": "Book Store",
  "1728747447366202": "Business",
  "187133811318958": "Business Service",
  "917138848432787": "Casino & Gaming",
  "557045641143373": "Design",
  "188234584533149": "Doctor",
  "806240166180298": "Environmental Service",
  "193705277324704": "Event Planning Service",
  "871941916244102": "Fashion",
  "1022050661163852": "Finance",
  "150108431712141": "Grocery Store",
  "108427109235243": "Home Improvement",
  "1025733874177680": "Home Improvement Service",
  "1730236023904374": "Home Service",
  "133152263416981": "Hospital/Clinic",
  "164243073639257": "Hotel",
  "505091123022329": "Hotel & Lodging",
  "209889829023118": "Landmark & Historical Place",
  "241113486274430": "Legal",
  "169896676390222": "Library",
  "1758418281071392": "Local Service",
  "1422088814483501": "Marine",
  "145118935550090": "Medical & Health",
  "192511100766680": "Movie Theater",
  "179943432047564": "Performance & Sports Venue",
  "144982405562750": "Pet Service",
  "147714868971098": "Public Services & Government",
  "198327773511962": "Real Estate",
  "186982054657561": "Recreation & Fitness",
  "187714557925874": "Religious Organization",
  "273819889375819": "Restaurant",
  "200600219953504": "Shopping/Retail",
  "109976259083543": "Stadium, Arena & Sports Venue",
  "124861974254366": "Tour Agency",
  "145887745471348": "Train Station",
  "150148928375567": "Biotechnology Company",
  "184395321600410": "Cargo & Freight Company",
  "191334714243008": "Chemical Company",
  "152880021441864": "Community Organization",
  "170968163319233": "Community Service",
  "140234236045713": "Elementary School",
  "161422927240513": "Government Organization",
  "110152272401235": "High School",
  "192775991124365": "Labor Union",
  "198503866828628": "Organization",
  "373543049350668": "Political Organization",
  "180551801986954": "Preschool",
  "297544187300691": "Science & Engineering",
  "150060378385891": "Appliances",
  "1605186416478696": "Brand",
  "192647794097278": "Home Decor",
  "132852590115660": "Kitchen/Cooking",
  "110249975723427": "Office Supplies",
  "211579738882707": "Video Game",
  "1602034176774683": "Actor",
  "792007097567368": "Band",
  "361282040719868": "Blogger",
  "1784467105117322": "Fashion Model",
  "502966423232592": "Film Director",
  "301500100194179": "Fitness Model",
  "1720316034885300": "Motivational Speaker",
  "1335670856447673": "Musician",
  "181475575221097": "Photographer",
  "842783295865930": "Political Candidate",
  "494338820719492": "Scientist",
  "596582600510249": "Festival",
  "856055631167537": "Literary Arts",
  "370369022981015": "Movie/Television Studio",
  "756092301147942": "Performance Art",
  "1758092431143387": "Performing Arts",
  "627651640670228": "Podcast",
  "943469559038367": "Theatrical Play",
  "1784293938474260": "Theatrical Productions"
}

جمعت عينة عشوائية من 105 كيلو صفحة باستخدام واجهة بحث Facebook وحصلت على 197 صفحة ، أكثر من 147 صفحة تظهر على صفحة الويب "إنشاء صفحة". هذه هي القائمة:

Actor/director
Aerospace/defense
Airport
Album
Amateur sports team
Anatomical structure
Animal
Animal breed
App
App page
Appliances
Artist
Arts/entertainment/nightlife
Arts/humanities website
Athlete
Attractions/things to do
Author
Automobiles and parts
Automotive
Baby goods/kids goods
Bags/luggage
Bank/financial institution
Bank/financial services
Bar
Biotechnology
Book
Book genre
Book store
Building materials
Business person
Business services
Business/economy website
Camera/photo
Cars
Cause
Chef
Chemicals
Church/religious organization
City
Clothing
Club
Coach
Color
Comedian
Commercial equipment
Community
Community organization
Community/government
Company
Computers
Computers/internet website
Computers/technology
Concert tour
Concert venue
Consulting/business services
Continent
Country
Dancer
Degree
Diseases
Doctor
Drink
Drugs
Editor
Education
Education website
Electronics
Energy/utility
Engineering/construction
Entertainer
Entertainment website
Episode
Event planning/event services
Farming/agriculture
Fictional character
Field of study
Food
Food/beverages
Food/grocery
Furniture
Games/toys
Government official
Government organization
Government website
Health/beauty
Health/medical/pharmaceuticals
Health/medical/pharmacy
Health/wellness website
Home decor
Home improvement
Home/garden website
Hospital/clinic
Hotel
Household supplies
Industrials
Insurance company
Interest
Internet/software
Jewelry/watches
Journalist
Kitchen/cooking
Landmark
Language
Lawyer
Legal/law
Library
Local business
Local/travel website
Magazine
Media/news/publishing
Medical procedure
Mining/materials
Monarch
Movie
Movie general
Movie genre
Movie theater
Movies/music
Museum/art gallery
Music
Music award
Music chart
Music video
Musical genre
Musical instrument
Musician/band
Neighborhood
News personality
News/media website
Non-governmental organization (ngo)
Non-profit organization
Office supplies
Organization
Other
Outdoor gear/sporting goods
Patio/garden
Personal blog
Personal website
Pet services
Pet supplies
Playlist
Political ideology
Political organization
Political party
Politician
Producer
Product/service
Professional services
Professional sports team
Public figure
Public places
Publisher
Radio station
Real estate
Record label
Recreation/sports website
Reference website
Regional website
Religion
Restaurant/cafe
Retail and consumer merchandise
School
School sports team
Science website
Shopping/retail
Small business
Society/culture website
Software
Song
Spas/beauty/personal care
Sport
Sports league
Sports venue
Sports/recreation/activities
State/province/region
Studio
Teacher
Teens/kids website
Telecommunication
Tools/equipment
Tours/sightseeing
Transit stop
Transport/freight
Transportation
Travel/leisure
Tv
Tv channel
Tv genre
Tv network
Tv show
Tv/movie award
University
Vitamins/supplements
Website
Wine/spirits
Work position
Writer

في حال كنت تتساءل ، هذا هو الرمز الذي استخدمته (بيثون):

categories = set()
graph = facebook.GraphAPI(token)
for i in xrange(20):
    for j in xrange(10):
        q = chr(97+i)+chr(97+j)
        for r in graph.request("search", {"q": q, "type":"page", "limit": 1000})["data"]:
            categories.add(str(r["category"]))

قم بإجراء مجموعة من الاستعلامات العشوائية ذات الطابعين العشوائيين وجمع الصفحات الناتجة. إنها تعمل!


يجب أن تكون هذه القائمة الكاملة ، عكسها هندسيا على النحو المذكور أعلاه:

2506,Airport
2508,Arts/Entertainment/Nightlife
2523,Attractions/Things to Do
2509,Automotive
2512,Bank/Financial Services
2100,Bar
1305,Book Store
2518,Business Services
2264,Church/Religious Organization
2101,Club
2519,Community/Government
1209,Concert Venue
2250,Education
2511,Event Planning/Event Services
2513,Food/Grocery
2514,Health/Medical/Pharmacy
2515,Home Improvement
2527,Hospital/Clinic
2501,Hotel
2503,Landmark
1306,Library
2500,Local Business
1111,Movie Theater
2528,Museum/Art Gallery
2231,Outdoor Gear/Sporting Goods
2516,Pet Services
2517,Professional Services
2522,Public Places
2520,Real Estate
1900,Restaurant/Cafe
2601,School
2521,Shopping/Retail
2510,Spas/Beauty/Personal Care
2507,Sports Venue
2524,Sports/Recreation/Activities
2525,Tours/Sightseeing
2505,Transit Stop
2526,Transportation
2602,University
2244,Aerospace/Defense
2240,Automobiles and Parts
2234,Bank/Financial Institution
2254,Biotechnology
2606,Cause
2247,Chemicals
2264,Church/Religious Organization
2260,Community Organization
2200,Company
2255,Computers/Technology
2248,Consulting/Business Services
2250,Education
2238,Energy/Utility
2251,Engineering/Construction
2246,Farming/Agriculture
2252,Food/Beverages
2604,Government Organization
2214,Health/Beauty
2243,Health/Medical/Pharmaceuticals
2241,Industrials
2236,Insurance Company
2256,Internet/Software
2249,Legal/Law
2233,Media/News/Publishing
2245,Mining/Materials
2235,Non-Governmental Organization (NGO)
2603,Non-Profit Organization
2600,Organization
2261,Political Organization
2618,Political Party
2239,Retail and Consumer Merchandise
2601,School
2237,Small Business
2253,Telecommunication
2242,Transport/Freight
2258,Travel/Leisure
2602,University
2301,App
2215,Appliances
2232,Baby Goods/Kids Goods
2206,Bags/Luggage
2216,Building Materials
2208,Camera/Photo
2205,Cars
2209,Clothing
2217,Commercial Equipment
2210,Computers
2263,Drugs
2213,Electronics
2252,Food/Beverages
2219,Furniture
2300,Games/Toys
2214,Health/Beauty
2218,Home Decor
2220,Household Supplies
2226,Jewelry/Watches
2221,Kitchen/Cooking
2227,Movies/Music
1204,Musical Instrument
2212,Office Supplies
2231,Outdoor Gear/Sporting Goods
2222,Patio/Garden
2230,Pet Supplies
2201,Product/Service
2211,Software
2223,Tools/Equipment
2262,Vitamins/Supplements
2202,Website
2224,Wine/Spirits
1103,Actor/Director
1601,Artist
1600,Athlete
1301,Author
1609,Business Person
1606,Chef
1802,Coach
1610,Comedian
1614,Dancer
1608,Doctor
1308,Editor
1611,Entertainer
1113,Fictional Character
1701,Government Official
1604,Journalist
1607,Lawyer
1612,Monarch
1202,Musician/Band
1605,News Personality
1700,Politician
1108,Producer
1602,Public Figure
1613,Teacher
1109,Writer
1200,Album
1803,Amateur Sports Team
1300,Book
1305,Book Store
1208,Concert Tour
1209,Concert Venue
1113,Fictional Character
1306,Library
1307,Magazine
1105,Movie
1111,Movie Theater
1212,Music Award
1213,Music Chart
1207,Music Video
1204,Musical Instrument
1206,Playlist
1801,Professional Sports Team
1210,Radio Station
1211,Record Label
1804,School Sports Team
1201,Song
1800,Sports League
2507,Sports Venue
1110,Studio
1404,TV Channel
1402,TV Network
1400,TV Show
1112,TV/Movie Award


Here's a plain (eg no jQuery required) Javascript function that will extract the id/category pairs from the create-a-page page:

function get_categories() {
    var result = {};
    var options = document.getElementsByTagName('option');
    for (var i=0; i < options.length; i++) {
        var obj = options[i];
        if (obj.parentNode.id == 'category' && obj.value != '0')
            result[obj.value] = obj.innerHTML;
    };
    return result;
}

Ross, although I am not 100% sure about this, my guess would be that this data is kept and updated internally by Facebook, and so if you wanted to use it in an app, you would have to make an array of some kind yourself containing all of the (current) categories used by Facebook - as you have outlined here (I have looked extensively through their API, Graph, etc documentation, and do not recall seeing any mention of how you can get categories for interests).

You might also have a look at this link: http://developers.facebook.com/docs/reference/fql/user

الأفضل.


Sorted & Merged all the lists and from the create page :

151 entries :

Actor/Director
Aerospace/Defence
Airport
Album
Amateur Sports Team
Appliances
App Page
Artist
Arts/Entertainment/Nightlife
Author
Baby Goods/Kids Goods
Bags/Luggage
Bank/Financial Institution
Bank/Financial Services
Biotechnology
Blogger
Board Game
Book
Book Series
Bookshop
Building Materials
Business Person
Business Services
Camera/Photo
Cars
Cars and Parts
Cause
Chef
Chemicals
Church/Religious Organisation
Cinema
Clothing
Club
Coach
Comedian
Commercial Equipment
Community/Government
Community Organisation
Company</option>
Computers
Computers/Technology
Concert Tour
Concert Venue
Consulting/Business Services
Dancer
Designer
DIY
Doctor
Education
Electronics
Energy/Utility
Engineering/Construction
Entertainer
Entrepreneur
Event Planning/Event Services
Farming/Agriculture
Fictional Character
Film
Film Character
Food/Drink
Food/Groceries
Furniture
Games/Toys
Government Official
Government Organisation
Health/Beauty
Health/Medical/Pharmaceuticals
Health/Medical/Pharmacy
Home Decor
Hospital/Clinic
Hotel
Household Supplies
Industrials
Insurance Company
Internet/Software
Jewellery/Watches
Journalist
Kitchen/Cooking
Landmark
Lawyer
Legal/Law
Library
Local Business
Magazine
Media/News/Publishing
Medications
Middle School
Mining/Materials
Museum/Art Gallery
Music Award
Music Chart
Musician/Band
Music Video
News Personality
Non-governmental Organisation (NGO)
Non-profit Organisation
Nursery
Office Supplies
Organisation
Outdoor Gear/Sporting Goods
Patio/Garden
Performance Art
Pet
Pet Services
Pet Supplies
Phone/Tablet
Photographer
Political Organisation
Political Party
Politician
Primary School
Producer
Product/Service
Professional Services
Property
Public Figure
Public Places
Radio Station
Record Label
Restaurant/Café
Retail and Consumer Merchandise
School
School Sports Team
Shopping/Retail
Small Business
Software
Song
Spas/Beauty/Personal Care
Sports League
Sportsperson
Sports/Recreation/Activities
Sports Team
Sports Venue
Studio
Teacher
Telecommunication
Tools/Equipment
Tours/Sightseeing
Transport
Transport/Freight
Travel/Leisure
TV Channel
TV/Film Award
TV Network
TV Programme
University
Video Game
Vitamins/Supplements
Website
Wine/Spirits
Writer

Updated on 05-06-2015







facebook-graph-api