• I use a shortcode – <?php echo do_shortcode(‘[screenshot width=968]www.site.com’.$_SERVER[‘REQUEST_URI’].'[/screenshot]’) ?> in header.php with meta property=”og:image” tag. It worked fine for several minutes and than broke.
    I decreased the grade because the screenshots does not work. For example, any random link (https://s.wordpress.com/mshots/v1/https%3A%2F%2Fwww.ads-software.com%2F?w=200) returns a “403 Forbidden” error. The error remains with the different image width.
    My website works via https.

    Additionally, it worked fine with the small screenshot width(for example, 200 px). But if you set 968 (the best width to serve the <meta property=”og:image”> tag), the test page displays the “Generating preview” message on the black background.

    Overall about 50% of screenshots was generated fine.

  • The topic ‘Worked for 5 minutes and broke (403 Forbidden)’ is closed to new replies.