Home Forums Basel – Premium Template Instagram did not return a 200. Basil 4.8

Tagged: ,

This topic contains 3 replies, has 2 voices, and was last updated by Elise Noromit Elise Noromit 1 month, 1 week ago.

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

    emstore
    Customer

    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.

    Private Content Hidden
    #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
    Customer

    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.

    Private Content Hidden
    #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

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

You must be logged in to reply to this topic.