MOON
Server: Apache
System: Linux nserver.cafsindia.com 4.18.0-553.104.1.lve.el8.x86_64 #1 SMP Tue Feb 10 20:07:30 UTC 2026 x86_64
User: cafsindia (1002)
PHP: 8.2.30
Disabled: NONE
Upload Files
File: /home/cafsindia/www/wp-content/plugins/imageseo/src/Helpers/SocialMedia.php
<?php

namespace ImageSeoWP\Helpers;

if (!defined('ABSPATH')) {
    exit;
}

abstract class SocialMedia
{
    const OPEN_GRAPH = [
        'name'   => 'open-graph',
        'label'  => 'Open Graph (Twitter, Facebook, LinkedIn)',
        'sizes'  => [
            'width'  => 1200,
            'height' => 630,
        ],
    ];

    const PINTEREST = [
        'name'  => 'pinterest',
        'label' => 'Pinterest',
        'sizes' => [
            'width'  => 1000,
            'height' => 1500,
        ],
    ];
    const INSTAGRAM = [
        'name'  => 'instagram',
        'label' => 'Instagram',
        'sizes' => [
            'width'  => 1080,
            'height' => 1920,
        ],
    ];
    const INSTAGRAM_SQUARE = [
        'name'  => 'instagram-square',
        'label' => 'Instagram (Square)',
        'sizes' => [
            'width'  => 1000,
            'height' => 1000,
        ],
    ];

    public static function getSocialMedias()
    {
        return [
            self::OPEN_GRAPH,
            // self::PINTEREST,
            // self::INSTAGRAM,
            // self::INSTAGRAM_SQUARE,
        ];
    }
}