Back to Instagram Feed Support

stefano.tombari53419
stefano.tombari53419

In configuration, goes everithing fine until step 3. Can't get the lat instagram post. in console i get this error.

GET

scheme
    https
host
    bagnielsa.it
filename
    /artdark/instagram/api/Api@getLastPost
client_id
    751743089075606
client_secret
    4cdf64a432c8fe997f87e94052aad86f
code
    AQDiadS3YBsN3fwloJjV0213ndM4r1T6uLVBd0EFFsymRBRSmFqL_0p7Z4TggJ12jjVe5U6MiL9Yx5kHu3dxaxFwkdkp2mjoT_zAtfZN61eh_onCLqixl8I3z1P_4AbwXSZUYSKcRSYnh8FEkuRdexpvDXCsW4HKifhC3KaxkI754hduRrsDbi08YvU2E9oCXrhbCQ8F4dUosAhsLFOYCyOl62VIUmpPxkXUs4Pwt2XuLw
steep
    3
time_life_token
    07 April 2021
short_access_token

Indirizzo
    188.165.4.35:443
Stato500
Internal Server Error
VersioneHTTP/2
Trasferito791 B (dim. 154 B)
Referrer Policyno-referrer-when-downgrade

Last updated

Darkrogua
Darkrogua

try to reset all the settings and re-configure the settings, after completing the settings DO NOT press the SAVE button below, just exit

stefano.tombari53419
stefano.tombari53419

Thanx for the reply, but the problem persist

stefano.tombari53419
stefano.tombari53419

count(): Parameter must be an array or an object that implements Countable /home/bagnielsih/www/plugins/artdark/instagram/classes/Api.php line 136

ErrorException

    }
    return $return;
}
static function getLastPost() {
    $return = [];
    $media_id_list = self::getMediaIDList();
    if (count($media_id_list)) {
        $return['post'] = $media_id_list[0];
        Settings::set('steep', 4);
    } else {
        $return['error'] = 'No records found!';
        \Log::debug('Instagram-plugin: '.$return['error']);
    }
Darkrogua
Darkrogua

what is your php version server?

stefano.tombari53419
stefano.tombari53419

hi php version is 7.2

stefano.tombari53419
Darkrogua
Darkrogua

stefano.tombari53419 said:

Any suggestion?

I checked, there is no problem, if it is possible, contact me by e-mail and provide the data to access the site, I will investigate the problem

Darkrogua
Darkrogua

released an update

nolybom
nolybom

I am getting the same error on php 7.3.24

Unsupported get request. Object with ID 'xxx' does not exist, cannot be loaded due to missing permissions, or does not support this operation

ErrorException: count(): Parameter must be an array or an object that implements Countable in /home/nginx/domains/mesowell.com/public/plugins/artdark/instagram/classes/Api.php:136

Last updated

Darkrogua
Darkrogua

nolybom said:

I am getting the same error on php 7.3.24

Unsupported get request. Object with ID 'xxx' does not exist, cannot be loaded due to missing permissions, or does not support this operation

ErrorException: count(): Parameter must be an array or an object that implements Countable in /home/nginx/domains/mesowell.com/public/plugins/artdark/instagram/classes/Api.php:136

Thank you for your purchase, have you studied the video tutorial? Do you have the latest version of the plugin?

nolybom
nolybom

Thank you for quick reacting.

All yes.

I think i fixed it with if (count([$media_id_list])) {

but still getting the error:

Unsupported get request. Object with ID 'xxx' does not exist, cannot be loaded due to missing permissions, or does not support this operation

Any idea?

nolybom
nolybom

Also....in the documentation there is no info about how to set up the scheduler.

I have added this to my cron file:

* * * * * /usr/local/bin/php _project_directory_/artisan schedule:run >> /dev/null 2>&1

Something missing?

Darkrogua
Darkrogua

nolybom said:

Thank you for quick reacting.

All yes.

I think i fixed it with if (count([$media_id_list])) {

but still getting the error:

Unsupported get request. Object with ID 'xxx' does not exist, cannot be loaded due to missing permissions, or does not support this operation

Any idea?

no idea, will i need see admin. panel. Will you can send login and password for my email darkrogua@gmail.com ?

nolybom
nolybom

credentials sent

Darkrogua
Darkrogua

updated plugin - go install!

1-16 of 16