trypost/config/trypost.php
Paulo Castellano adfba2755e feat: Add Pinterest integration and user language preferences
Pinterest Integration:
- Add Pinterest OAuth controller and routes
- Add PinterestPublisher service with support for pins, video pins, and carousels
- Add PinterestPreview component with board selector and content type options
- Add Pinterest content types enum (Pin, VideoPin, Carousel)
- Add Pinterest to Platform enum with proper configuration
- Support sandbox mode via PINTEREST_SANDBOX env variable
- Pass platform-specific data (boards) through PlatformPreview

Language Feature:
- Add languages table with migration
- Add Language model and seeder (en-US, pt-BR)
- Add LanguageCombobox component for profile settings
- Set default language (en-US) on user registration
- Add language_id foreign key to users table

UI Improvements:
- Refactor PlatformPreview to support contentTypeOptions, meta, and platformData props
- Move content type and board selectors into platform-specific preview components

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 13:10:01 -03:00

46 lines
1.3 KiB
PHP

<?php
return [
/*
|--------------------------------------------------------------------------
| Social Platforms
|--------------------------------------------------------------------------
|
| Configure which social platforms are enabled in the application.
| Set to false to temporarily disable a platform (e.g., when credentials
| are revoked, expired, or pending approval).
|
*/
'platforms' => [
'linkedin' => [
'enabled' => env('TRYPOST_LINKEDIN_ENABLED', true),
],
'linkedin-page' => [
'enabled' => env('TRYPOST_LINKEDIN_PAGE_ENABLED', true),
],
'x' => [
'enabled' => env('TRYPOST_X_ENABLED', true),
],
'tiktok' => [
'enabled' => env('TRYPOST_TIKTOK_ENABLED', true),
],
'youtube' => [
'enabled' => env('TRYPOST_YOUTUBE_ENABLED', true),
],
'facebook' => [
'enabled' => env('TRYPOST_FACEBOOK_ENABLED', false),
],
'instagram' => [
'enabled' => env('TRYPOST_INSTAGRAM_ENABLED', false),
],
'threads' => [
'enabled' => env('TRYPOST_THREADS_ENABLED', true),
],
'pinterest' => [
'enabled' => env('TRYPOST_PINTEREST_ENABLED', true),
],
],
];