I\'m using Facebook Lead Ads API. I need to retrieve all fields from a form by ID. I know I can:
//leadgen_forms
You can get these by adding non-default field qualifiers
, so the url becomes /
.
I haven't found it anywhere in the official docs though. But it is quite common for new FB features to be poorly documented.
Example output
{
"id": "1234567890000",
"name": "test form",
"qualifiers": [
{
"field_key": "first_name",
"label": "First Name",
"question": "First name",
"id": "777888999000111"
},
{
"field_key": "last_name",
"label": "Last Name",
"question": "Last name",
"id": "111222333444555"
}
]
}