Home Forums WoodMart support forum " Instagram has returned invalid data" Error

" Instagram has returned invalid data" Error

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

    ibukoool
    Participant

    Instagram Feed is showing
    “Instagram has returned invalid data” after proper setup. I am using the updated theme.

    Attachments:
    You must be logged in to view attached files.
    #141440

    Hello,

    Thank you very much for choosing our theme and for contacting us.

    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

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