import.php 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <?php
  2. return [
  3. /*
  4. * Import from Instagram
  5. *
  6. * Allow users to import posts from Instagram
  7. *
  8. */
  9. 'instagram' => [
  10. 'enabled' => env('PF_IMPORT_FROM_INSTAGRAM', true),
  11. 'limits' => [
  12. // Limit max number of posts allowed to import
  13. 'max_posts' => env('PF_IMPORT_IG_MAX_POSTS', 1000),
  14. // Limit max import attempts allowed, set to -1 for unlimited
  15. 'max_attempts' => env('PF_IMPORT_IG_MAX_ATTEMPTS', -1),
  16. ],
  17. // Allow archived posts that will be archived upon import
  18. 'allow_archived_posts' => false,
  19. // Allow video posts to be imported
  20. 'allow_video_posts' => env('PF_IMPORT_IG_ALLOW_VIDEO_POSTS', true),
  21. 'permissions' => [
  22. // Limit to admin accounts only
  23. 'admins_only' => env('PF_IMPORT_IG_PERM_ADMIN_ONLY', false),
  24. // Limit to admin accounts and local accounts they follow only
  25. 'admin_follows_only' => env('PF_IMPORT_IG_PERM_ADMIN_FOLLOWS_ONLY', false),
  26. // Limit to accounts older than X in days
  27. 'min_account_age' => env('PF_IMPORT_IG_PERM_MIN_ACCOUNT_AGE', 1),
  28. // Limit to accounts with a min follower count of X
  29. 'min_follower_count' => env('PF_IMPORT_IG_PERM_MIN_FOLLOWER_COUNT', 0),
  30. // Limit to specific user ids, in comma separated format
  31. 'user_ids' => env('PF_IMPORT_IG_PERM_ONLY_USER_IDS', null),
  32. ]
  33. ]
  34. ];