Like button not work in archives, the link not recognize posts

Hi, I have used a like button with a shortcode (custom position in template with do_shortcode()) and the button only works in single.php

Screenshot of the problem:

Screenshot of configuration:

Another problem is that now the button shows a “confirm” link after click on it:

Tha site is