This section provides a guide to each of the different types of data that Meta Content Library API supports plus some additional guides to further develop your expertise with the API.
Code examples in the guides use a tabbed code block with tabs for R and Python. Click the tab for the language of your choice to display the appropriate code. This is an example:
This is the R code. Click the Python tab to display the Python code.You can copy the code in either tab and paste it into a Jupyter notebook cell for the same language (R or Python).
Facebook Pages dataDescribes the | Facebook groups dataDescribes the |
Facebook events dataDescribes the | Facebook profiles dataDescribes the |
Facebook posts dataDescribes the | Facebook Marketplace dataDescribes the |
Facebook fundraisers dataDescribes the | Facebook donations dataDescribes the Facebook |
Facebook comments dataDescribes the Facebook | Instagram accounts dataDescribes the |
Instagram posts dataDescribes the | Instagram fundraisers dataDescribes the |
Instagram channel dataDescribes the | Instagram channel message dataDescribes the |
Instagram comments dataDescribes the Instagram | Bulk comments dataDescribes the |
ID-based retrievalExplains how to fetch a Meta Content Library node by using a Meta Content Library ID. | Search guideExplains how search works in the Content Library API and how to create search objects. |
Advanced search guidelinesDescribes boolean operators supported by the search functionality and how to use them, including examples. | Rate limiting and query budgetingExplains the rate-limiting and query-budgeting parameters for both Content Library UI and API. |
Data deletionDescribes the fixed 30-day deletion schedule Meta employs. |