Paste in the link to paid message, and it will download the text and any media associated.
90% of the code was already there, just had to figure out the right API endpoint to use.
Please note: I've tested this with free posts and free/paid messages... I haven't tested this with paid posts. The only reason I mention this is because I refactored the entities.
So where an entity was identical, I deleted it, so it uses a single common entity... this was so I didn't have to convert/cast objects.
Paste in the link to paid message, and it will download the text and any media associated. 90% of the code was already there, just had to figure out the right API endpoint to use.
Please note: I've tested this with free posts and free/paid messages... I haven't tested this with paid posts. The only reason I mention this is because I refactored the entities. So where an entity was identical, I deleted it, so it uses a single common entity... this was so I didn't have to convert/cast objects.