π¨ The ultimate agentic social media scheduling tool π€
TypeScript nextjsopen-sourceopen-source-social-media-scheduling-toolosspostiz-cloudpostiz-hostedredisscheduling-toolsocial-media-scheduling-tooltypescript
fix(facebook): map (#200) permission errors to a curated message
Gilad Resisifa69f42e35b9
diff --git a/libraries/nestjs-libraries/src/integrations/social/facebook.provider.ts b/libraries/nestjs-libraries/src/integrations/social/facebook.provider.tsindex 5ade76092..6f082c052 100644--- a/libraries/nestjs-libraries/src/integrations/social/facebook.provider.ts+++ b/libraries/nestjs-libraries/src/integrations/social/facebook.provider.ts@@ -81,6 +81,14 @@ export class FacebookProvider extends SocialAbstract implements SocialProvider {};}+ 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,