I request a popular page using the facebook api chart to retrieve a list of categories:
https://graph.facebook.com/v2.9/159460420880667/?fields=category_list,category&access_token= $ mytoken
The result shows only the main category without returning the category_list field
{ "category": "Games/Toys", "id": "159460420880667" }
The same query works fine for another page:
https://graph.facebook.com/v2.9/197958940234297/?fields=category_list,category&access_token= $ mytoken
{'category': 'Sports Club', 'category_list': [{'id': '189018581118681', 'name': 'Sports Club'}, {'id': '184405378265823', 'name': 'Gym/Physical Fitness Center'}], 'id': '197958940234297'}
My question is why the full list of categories was not returned in the first query and why do I get the second (not the first) category as the main category?
:
Source: https://habr.com/ru/post/1684678/More articles:How to decorate page structure / Routes in Angular 4? - javascript(Разрешено) Ошибка при создании проекта hololens - Ошибка: CS0006 "...\Assembly-CSharp-firstpass.dll" не найден - c#"Select Android SDK" - how to import project files? - androidRemoving mixed variables in SymPy series extension - pythonView IF conditional code to save processor cycles - cAPI - Shopper update on BlueSnap - apiXamarin iOS: check if notification is enabled - xamarinHow to simulate a long left click - javascriptQuick close - forced close is always completed - closuresHow to use variable arguments with printf in a macro? - cAll Articles