Navigate to Post ID Export
Click Create new to start setting up new export
Select your ad account
4. You can export all post IDs in a selected campaign, ad set, or ads.
Or use filters to match the exported items:
5. Now you can download the CSV file with post IDs