Category

Path /{category-id}

Represents a Knowledge Library category. The /{category-id} node returns a single category.

Reading

You can read information about a category by making a Graph API GET request to /{category-id}.

Permissions

Reading Category node require Manage Knowledge Library content permission.

Fields

Field NameDescriptionData Type

id

The category ID

string

title

The title of the category

string

content

The text content of the category's document

string

status

Indicates the status of the category

enum {PUBLISHED,DRAFT}

last_editor

The last member to edit the content.This will require

read_work_profiles

permission as well.

User

subcategories

List of sub-categories(id and title fields only) for a given category. This list supports pagination.

Category

Publishing

You can't publish using this node.

Deleting

You can delete a category by making a Graph API DELETE request to /{category_id}. You will need Manage Knowledge Library content permission.

Updating

You can't update using this node.

Examples


Get the title and content of a category

GET /{category_id}?fields=title,content HTTP/1.1
Host: graph.facebook.com


Deleting a category

DELETE /{category_id} HTTP/1.1
Host: graph.facebook.com

This would remove the category from Knowledge Library.