• Resolved myuuu11

    (@myuuu11)


    Hello,

    I have an issue, but only when I want to use the php function (with the function wdi_feed(array(‘id’=>’1’)); or with integrated by shortcut function do_shortcode( ‘[wdi_feed id=”1″]’ )

    So … When I create a hashtag filter, and integrate it to a page, it works perfectly. When I try to use it into a php template, I have always the same issue:

    Something is wrong. Response takes too long or there is JS error. Press Ctrl+Shift+J or Cmd+Shift+J on a Mac to see error in console or ask for free support. Instagram token is invalid or expired. Please reset token and sign-in again to get new one.
    Admin warning: there is one or more private user in this feed(). Their media won’t be displayed.

    Obviously I have reset my token many time. And checked my console, without any warnings or errors.

    And I repeat, but in the same time, with the same flux, it works perfectly on a page with the shortcut.

    I don’t know what I should do now … Any help please?

    Regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Zhanna Khachatryan

    (@zhannak)

    Hello @myuuu11,

    Thanks for your inquiry.

    If it works with a shot-code that it should work with PHP function too.

    Can you please write in which function you call it, where exactly?

    Thread Starter myuuu11

    (@myuuu11)

    Hello @zhannak

    Thanks for your answer

    I call the function into a template file, not into a php function.

    My code here:

    <p class=”share_yours”>Some text here</p><br/>
    <?php echo wdi_feed(array(‘id’=>’1’)); ?>

    Please notate I have the same issue with the code
    <?php echo do_shortcode( ‘[wdi_feed id=”1″]’ ); ?>

    But it works perfectly into a page or an article, when I include it by the button, or when I write :[wdi_feed id=”1″]

    To fix the issue, I have install another wordpress plugin (social slider widget) and it works.
    <p class=”share_yours”>Some text</p><br/>
    <?php echo do_shortcode( ‘[jr_instagram id=”3″]’ ); ?>

    I prefer your plugin but I can’t use it …

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Something wrong – token issue’ is closed to new replies.