Sanka Academy

Twitter post limitations

Image files must meet all of the following criteria:

  • Supported image media types: JPG, PNG, GIF, WEBP
  • Image size <= 5 MB, animated GIF size <= 15 MB

A GIF may fail during Tweet creation even if it is within the file size limit. Adhere to the following constraints to improve success rates.

  • Resolution should be <= 1280x1080 (width x height)
  • Number of frames <= 350
  • Number of pixels (width * height * num_frames) <= 300 million
  • File size <= 15Mb

Video

Recommended:

  • Recommended Video Codec: H264 High Profile
  • Recommended Frame Rates: 30 FPS, 60 FPS
  • Recommended Video Resolution: 1280x720 (landscape), 720x1280 (portrait), 720x720 (square)
  • Recommended Minimum Video Bitrate: 5,000 kbps
  • Recommended Minimum Audio Bitrate: 128 kbps
  • Recommended Audio Codec: AAC LC
  • Recommended Aspect Ratio: 16:9 (landscape or portrait), 1:1 (square)

Advanced:

  • Frame rate must be 60 FPS or less
  • Dimensions must be between 32x32 and 1280x1024
  • File size must not exceed 512 mb
  • Duration must be between 0.5 seconds and 140 seconds
  • Aspect ratio must be between 1:3 and 3:1
  • Must have 1:1 pixel aspect ratio
  • Only YUV 4:2:0 pixel format is supported
  • Audio must be AAC with Low Complexity profile. High-Efficiency AAC is not supported
  • Audio must be mono or stereo, not 5.1 or greater
  • Must not have open GOP
  • Must use progressive scan

Please see more details: https://developer.twitter.com/en/docs/twitter-api/v1/media/upload-media/uploading-media/media-best-practices

There's a better way to
run your ecommerce.

From Marketing to Customer Service.
Everything you need to grow ecommerce.
One subscription. Unlimited accounts.

Start Free

Contact us for more information.

Free trial & demo
Onboarding support
Estimates & quotes
Consulting
Data migration
Software development