Home Forums Basel support forum Instagram did not return a 200. Basil 4.8

Instagram did not return a 200. Basil 4.8

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

    emstore
    Participant

    I am getting this error when i use an instagram handler, but when i use a hashtag it work as expected?

    Error: “Instagram did not return a 200. Basil 4.8”

    I tried both “@username” and “username” within the input field.

    #144371

    Hello,

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

    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

    #166791

    emstore
    Participant

    Hi,

    After updating my theme to the latest version 5.1.0 this issue is popping up again…?

    “Instagram has returned invalid data.”

    Please let me know what i need to do fix. This is on our production server.

    #166824

    Hello,

    Instagram has changed the way of integration. Please check the instruction on how to integrate correctly: https://xtemos.com/docs/basel/faq-guides-2/setup-instagram-api/

    Best Regards

Tagged: ,

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