Yeah there are api's to do it, actually i wanted to let you know that there is a way to do it, but i don't know how to do it in Native app and may be you can try it with Javascript i think.
For linkedIn - https://linkedin.api-docs.io/v1.0/feed/x23dhDq26npwP9uRT
For facebook - https://developers.facebook.com/docs/marketing-api/catalog/guides/feed-api/
Hoping this'll help you out. Thank you