I'm using this cURL command line to download contacts in a CSV file:
curl -i -X GET "https://www.facebook.com/ads/lead_gen/export_csv/?id=xxxxxxxxxxxxx&type=form&from_date=1672531200&to_date=1699401599"
where "xxxxxxxxxxxxx
" is the ID of instant form. However it doesn't work because it needs to first log in to the Facebook page where the instant form resides.
What can I do to solve the problem?