403 Forbidden

Issues related to previewing and publishing your web site.
Post Reply
Juraj256
 
 
Posts: 15
Joined: Fri Apr 10, 2020 9:35 pm

403 Forbidden

Post by Juraj256 »

Hello all,

im experiencing really weird problem. I just finished a website www.keram.sk but when sending this website link via Facebook´s messenger, right under the link I can see "403 Forbidden" instead of page´s description. Please see what I mean on this picture https://www.keram.sk/images/messenger.png

Do you have any idea where to look to fix this problem?

Thank you!
User avatar
crispy68
 
 
Posts: 3041
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: 403 Forbidden

Post by crispy68 »

I saw someone with a similar issue and they used the facebook scraper.

When I initially put it in, i got the same error. I went to the facebook scraper, entered the url and scraped it again (last scaped 4/9/20 it said) and then went back to messenger it worked for me.

here is the link to the FB scraper: https://developers.facebook.com/tools/debug

Try it again on your end and see if you get the same results.
Juraj256
 
 
Posts: 15
Joined: Fri Apr 10, 2020 9:35 pm

Re: 403 Forbidden

Post by Juraj256 »

Thank you Crispy, it was exactly as you said: I scraped again and its working via messenger, but scraper showed two errors. It said there are missing properties on the website: "The following required properties are missing: og:url, og:type, og:title, og:image, og:description, fb:app_id"

and it continues: "Based on the raw tags, we constructed the following Open Graph properties". Those properties are correctly constructed, but I´m assuming something is wrong on my end when scraper was unable to read them from page properties?

Thank you again.
Juraj256
 
 
Posts: 15
Joined: Fri Apr 10, 2020 9:35 pm

Re: 403 Forbidden

Post by Juraj256 »

Fixed by adding custom html between head and /head tags on index page:

<title>www.keram.sk - ručne robené výrobky z pravej kože</title>
<meta property="og:title" content="Ručne robené výrobky z pravej kože"/>
<meta property="og:type" content="website"/>
<meta property="og:url" content="http://www.keram.sk"/>
<meta property="og:image" content="http://www.keram.sk/images/image1.jpg"/>
<meta property="og:site_name" content="www.keram.sk"/>
<meta property="fb:admins" content="USER_ID"/>
<meta property="og:description"
content="Precízna ručná výroba z pravej hovädzej hladenice najvyššej kvality."/>

Thank you Crispy for showing me the right way :)
Post Reply