π¨ The ultimate agentic social media scheduling tool π€
TypeScript nextjsopen-sourceopen-source-social-media-scheduling-toolosspostiz-cloudpostiz-hostedredisscheduling-toolsocial-media-scheduling-tooltypescript
Merge remote-tracking branch 'origin/main' into fix/facebook-200-permission-mapping
Gilad Resisi522a0f4c845b
diff --cc libraries/nestjs-libraries/src/integrations/social/facebook.provider.tsindex 6f082c052,aec2c2235..e009bd65b--- a/libraries/nestjs-libraries/src/integrations/social/facebook.provider.ts+++ b/libraries/nestjs-libraries/src/integrations/social/facebook.provider.ts@@@ -81,14 -83,20 +83,28 @@@ export class FacebookProvider extends S};}+ // The token is valid but belongs to the user, not to the page - the page+ // was never granted to the app, so only reconnecting can fix it+ if (+ body.indexOf(+ 'Unpublished posts must be posted to a page as the page itself'+ ) > -1+ ) {+ return {+ type: 'refresh-token' as const,+ value:+ 'Postiz is not authorized to publish as this page, please reconnect the channel',+ };+ }++ if (body.indexOf('(#200)') > -1) {+ return {+ type: 'bad-body' as const,+ value:+ 'Facebook rejected the post due to missing permissions. Make sure your Facebook account has full content access to the Page, then reconnect the channel.',+ };+ }+if (body.indexOf('1366046') > -1) {return {type: 'bad-body' as const,