I need to execute Python code on a webserver whenever a new post is made to a particular content provider’s page.
Is this possible?
Can I use a webhook? (And just write my own webhook listener server)
If I am a subscriber to someone else’s channel, can I create a webhook that fires when they add a new post?
Or can I only make webhooks as channel OWNER (i.e. for my own content)?
Then you must get creator to authorize your app by going through oauth flow, with the correct scopes.To get a token which can access creator’s account.
You can use webhooks as i linked above. Check the documentation for ‘webhooks’. There is a post webhook that tells your site about a new post when one is made at Patreon.
Ah. The posts endpoint would require you having a creator’s token or having a token with right scopes for that account. w:campaigns.webhook . Without those, you couldnt get post alerts from a campaign.