I could have sworn I posted this already so if it is a duplicate, please delete it.
https://m.phys.org/news/2019-08-filter-feeding-pterosaurs-flamingos-late-jurassic.html
They looked at coprolite associated with Pterosaurs Trackways and it looked like they were filter feeders.