9. Connected social networks

Kết quả:

<?php
    echo "<div class='aaaaaaaaaaa'>";
    echo "<pre>";
    var_export($profiles);
    echo "</pre>";
    echo "</div>";
    die();
?>
(object) array(
   'facebook' => 
  array (
    0 => 
    (object) array(
       '_id' => '60b210722e55684818ac0435',
       'avatar' => 'https://scontent-dus1-1.xx.fbcdn.net/v/t1.6435-1/c39.0.100.100a/p100x100/36703701_148427009280426_2862236467424395264_n.jpg?_nc_cat=107&ccb=1-3&_nc_sid=dbb9e7&_nc_ohc=fIs9Hi_KamIAX_sAJb6&_nc_ht=scontent-dus1-1.xx&tp=27&oh=b5593c79ac63365ee1790d61c3f30eb0&oe=60DB97BA',
       'avatar_https' => 'https://scontent-dus1-1.xx.fbcdn.net/v/t1.6435-1/c39.0.100.100a/p100x100/36703701_148427009280426_2862236467424395264_n.jpg?_nc_cat=107&ccb=1-3&_nc_sid=dbb9e7&_nc_ohc=fIs9Hi_KamIAX_sAJb6&_nc_ht=scontent-dus1-1.xx&tp=27&oh=b5593c79ac63365ee1790d61c3f30eb0&oe=60DB97BA',
       'can_see_content_library' => false,
       'counts' => 
      (object) array(
         'sent' => 9,
         'pending-story-groups-with-errors' => 0,
         'drafts' => 0,
         'reminders' => 0,
         'pending' => 0,
      ),
       'cover_photo' => 'https://scontent-dus1-1.xx.fbcdn.net/v/t1.6435-9/36684023_148427169280410_7367504685294419968_n.jpg?_nc_cat=104&ccb=1-3&_nc_sid=1091cb&_nc_ohc=_z1ZbBW7b4IAX8_-Cr6&_nc_ht=scontent-dus1-1.xx&oh=b656aaa2f05e4b13f609d20841da9aed&oe=60DBB0C4',
       'created_at' => 1622282354,
       'default' => false,
       'disabled' => false,
       'disabled_features' => 
      array (
      ),
       'disconnected' => false,
       'formatted_service' => 'Facebook Page',
       'formatted_username' => 'Có 86.133 người theo dõi',
       'id' => '60b210722e55684818ac0435',
       'is_analyze_enabled' => false,
       'is_on_business_v2' => false,
       'location' => NULL,
       'locked' => false,
       'paused' => false,
       'paused_schedules' => 
      array (
      ),
       'preferences' => 
      (object) array(
      ),
       'reports_logo' => NULL,
       'schedules' => 
      array (
        0 => 
        (object) array(
           'days' => 
          array (
            0 => 'sun',
          ),
           'times' => 
          array (
          ),
        ),
        1 => 
        (object) array(
           'days' => 
          array (
            0 => 'mon',
          ),
           'times' => 
          array (
          ),
        ),
        2 => 
        (object) array(
           'days' => 
          array (
            0 => 'tue',
          ),
           'times' => 
          array (
          ),
        ),
        3 => 
        (object) array(
           'days' => 
          array (
            0 => 'wed',
          ),
           'times' => 
          array (
          ),
        ),
        4 => 
        (object) array(
           'days' => 
          array (
            0 => 'thu',
          ),
           'times' => 
          array (
          ),
        ),
        5 => 
        (object) array(
           'days' => 
          array (
            0 => 'fri',
          ),
           'times' => 
          array (
          ),
        ),
        6 => 
        (object) array(
           'days' => 
          array (
            0 => 'sat',
          ),
           'times' => 
          array (
          ),
        ),
      ),
       'service' => 'facebook',
       'service_id' => '148426725947121',
       'service_type' => 'page',
       'service_username' => 'Có 86.133 người theo dõi',
       'shortener' => 
      (object) array(
         'domain' => 'buff.ly',
      ),
       'timezone' => 'Europe/London',
       'timezone_city' => 'London - Europe',
       'user_id' => '60b20b90749c0b5a2013b833',
       'utm_tracking' => 'disabled',
       'verb' => 'post',
    ),
    1 => 
    (object) array(
       '_id' => '60b21073eb3b04f8adaf8f8f',
       'avatar' => 'https://scontent-iad3-1.xx.fbcdn.net/v/t1.18169-1/p100x100/15873436_1425522254139076_2021791658776998138_n.jpg?_nc_cat=106&ccb=1-3&_nc_sid=dbb9e7&_nc_ohc=i87bgsythwoAX8sri9R&_nc_ht=scontent-iad3-1.xx&tp=6&oh=abfeafdca021e0b49d6af25d29489934&oe=60E13816',
       'avatar_https' => 'https://scontent-iad3-1.xx.fbcdn.net/v/t1.18169-1/p100x100/15873436_1425522254139076_2021791658776998138_n.jpg?_nc_cat=106&ccb=1-3&_nc_sid=dbb9e7&_nc_ohc=i87bgsythwoAX8sri9R&_nc_ht=scontent-iad3-1.xx&tp=6&oh=abfeafdca021e0b49d6af25d29489934&oe=60E13816',
       'can_see_content_library' => false,
       'counts' => 
      (object) array(
         'sent' => 3,
         'pending-story-groups-with-errors' => 0,
         'drafts' => 0,
         'reminders' => 0,
         'pending' => 0,
      ),
       'cover_photo' => 'https://scontent-iad3-1.xx.fbcdn.net/v/t31.18172-8/17097934_1488416797849621_2761330093553928701_o.jpg?_nc_cat=103&ccb=1-3&_nc_sid=1091cb&_nc_ohc=RwKljJ991AEAX-q0ub1&_nc_ht=scontent-iad3-1.xx&oh=42953175e46e8e46d3515d4919bebeb9&oe=60E08DF9',
       'created_at' => 1622282355,
       'default' => false,
       'disabled' => false,
       'disabled_features' => 
      array (
      ),
       'disconnected' => false,
       'formatted_service' => 'Facebook Page',
       'formatted_username' => 'Học để khẳng định mình',
       'id' => '60b21073eb3b04f8adaf8f8f',
       'is_analyze_enabled' => false,
       'is_on_business_v2' => false,
       'location' => NULL,
       'locked' => false,
       'paused' => false,
       'paused_schedules' => 
      array (
      ),
       'preferences' => 
      (object) array(
      ),
       'reports_logo' => NULL,
       'schedules' => 
      array (
        0 => 
        (object) array(
           'days' => 
          array (
            0 => 'sun',
          ),
           'times' => 
          array (
          ),
        ),
        1 => 
        (object) array(
           'days' => 
          array (
            0 => 'mon',
          ),
           'times' => 
          array (
          ),
        ),
        2 => 
        (object) array(
           'days' => 
          array (
            0 => 'tue',
          ),
           'times' => 
          array (
          ),
        ),
        3 => 
        (object) array(
           'days' => 
          array (
            0 => 'wed',
          ),
           'times' => 
          array (
          ),
        ),
        4 => 
        (object) array(
           'days' => 
          array (
            0 => 'thu',
          ),
           'times' => 
          array (
          ),
        ),
        5 => 
        (object) array(
           'days' => 
          array (
            0 => 'fri',
          ),
           'times' => 
          array (
          ),
        ),
        6 => 
        (object) array(
           'days' => 
          array (
            0 => 'sat',
          ),
           'times' => 
          array (
          ),
        ),
      ),
       'service' => 'facebook',
       'service_id' => '1209125505778753',
       'service_type' => 'page',
       'service_username' => 'Học để khẳng định mình',
       'shortener' => 
      (object) array(
         'domain' => 'buff.ly',
      ),
       'timezone' => 'Europe/London',
       'timezone_city' => 'London - Europe',
       'user_id' => '60b20b90749c0b5a2013b833',
       'utm_tracking' => 'disabled',
       'verb' => 'post',
    ),
  ),
)

wp-content/plugins/lionel-setup-content/admin/class-lionel_content-settings.php

wp-content/plugins/lionel-setup-content/includes/class-lionel_content_buffer.php

Full code:

85KB
Open

Last updated

Was this helpful?