Hi Michael,
You can use official LinkedIn and Reddit APIs to retrieve posts from these platforms. Documentation for these APIs is linked below,
- https://learn.microsoft.com/en-us/linkedin/marketing/community-management/shares/posts-api
- https://www.reddit.com/dev/api/
However, if you're interested in scraping the data, then the 'webread' and 'websave' functions in MATLAB can be a good starting point.
For more information regarding “websave” and “webread” functions, kindly refer to the following documentation: