Home Forums Basel support forum Instagram problem

Instagram problem

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #141282

    miraide
    Participant

    Hi,

    I have the theme updated to 4.8.1 instagram has stopped working showing the following message: Instagram has returned invalid data.

    How can I solve the problem?
    thank you

    #141300

    Hello,

    Please add this code to the functions.php of the child theme:

    add_filter( 'basel_intagram_user_ajax_load', '__return_true' );

    Next, find the file

    basel\inc\shortcodes\shortcodes.php

    Find this line:

    if ( is_wp_error( $media_array ) && $media_array->get_error_code() === 'invalid_response_429' ) {

    and replace with this line:

    if ( is_wp_error( $media_array ) && ( $media_array->get_error_code() === 'invalid_response_429' || apply_filters( 'basel_intagram_user_ajax_load', false ) ) ) {

    Best Regards

    #141826

    miraide
    Participant

    It works perfectly

    Sorry if I replied late

    #141836

    That is fine. If you have any questions please feel free to contact us.

    Best Regards

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Instagram problem’ is closed to new replies.