Share producer lists

Producer lists can be shared between Meta Content Library and Content Library API. Researchers can see their producer lists in the Producer lists tab in Content Library. You can only share producer lists with users who have the same account type as yours.

Note: This feature is only available from version 4.0 onwards, and only in Researcher Platform.

To share a producer list:

  • Select Producers lists from the left navigation bar.

  • Click View in the card for the producer list you want to share.



  • Click the Share button in the producer list. The dropdown menu displays.


  • Select Copy link to get a URL link to the list or select Create API list ID to get an API Producer list ID.
    • If you select Copy link, the URL is copied to your clipboard and can be pasted into a browser window to display the producer list.
    • If you select Create API list ID, you will see a dialog with the ID which you can use to access the producer list in the API with the path received through the user interface.



The syntax of the snapshot of the producer list that can be accessed on the API is:

/lists/producers/<api_producer_list_id>

Request

NameTypeDescription

api_producer_list_id

String

Unique API ID created via UI for a snapshot of the producer list

Response structure

NameTypeDescription

id

String

MCL ID of the shared producer list

name

String

Name of the shared producer list

platform

String

Platform of the shared producer list (Facebook or Instagram)

producers.data[].id

String

MCL ID of the producer in the producer list

producers.data[].type

String`

Type of the producer like groups, pages, events, profiles, etc.

producers.data[].name

String

`Name of the producer

Sample queries

library(reticulate)
client <- import("metacontentlibraryapi")$MetaContentLibraryAPIClient

# set default version to latest
client$set_default_version(client$LATEST_VERSION)

# Get the response by using the API ID received by UI
response <- client$get(path="lists/producers/2024-07-22-xlyr")

# Display the json response
response$text
from metacontentlibraryapi import MetaContentLibraryAPIClient as client

# set default version to latest
client.set_default_version(client.LATEST_VERSION)

# Get the response by using the API ID received by UI
response = client.get(
                      path="lists/producers/2024-07-22-xlyr")

# Display the json response
display(response.json())