Home Forums Basel support forum Instagram Invalid data, don't find the API Request options in Instagram builder

Instagram Invalid data, don't find the API Request options in Instagram builder

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #143833

    Naimish
    Participant

    Don’t find the API request option as shown in your screenshots. Also, is Basel 4.7.0 the latest?

    #143887

    Hello,

    No, the latest version is 4.8.1 version. Please update your theme. https://xtemos.com/docs/basel/update-theme/

    Which screen do you mean, please? In order to fix the issue of “Instagram has returned invalid data.” 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

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