/    Sign up×
Community /Pin to ProfileBookmark

Facebook preview not to fix

Hi, there.

I have a problem with the Facebook preview of my site.

My html code is:
<!DOCTYPE html>
<html class=”wide wow-animation smoothscroll scrollTo” lang=”en”>
<html prefix=“og: http://ogp.me/ns#“>
<head> <meta charset=”utf-8″>
<meta name=”format-detection” content=”telephone=no”>

<!– Site Title–>
<title>EMS Studios</title><br>

<meta property=”og:title” content=”EMS Studios” />
<meta property=”og:typ” content=”Website” />
<meta property=”og:description” content=”EMS-Studio-Baden/Mödling, durch trainieren mit EMS (Elektro Muskelstimulation) die Muskulatur effizient und gelenkschonend, mit minimalem Zeitaufwand, spürbar kräftigen und straffen.” />
<meta property=”og:url” content=”https://www.ems-studios.at” />
<meta property=”og:image” content=”https://www.ems-studios.at/images/fb-image.png” />
<meta property=”og:image:width” content=”1800″ />
<meta property=”og:image:height” content=”1200″ />

But still there is a wrong picture showing, when I try to post on facebook.
The Facebook sharing debugger shows also the wrong pic (I was scraping again and again),
and gives me the following info:
miising: og:url, og:type, og:title, og:image, og:description, fb:app_id

How can I fix that?

to post a comment
HTML

2 Comments(s)

Copy linkTweet thisAlerts:
@klangwerk-mediaauthorOct 15.2021 — Found it!

An empty row in the code caused Facebook to set the </head> to the wrong position.

Now it works.

Can be closed, thx.
Copy linkTweet thisAlerts:
@NogDogOct 15.2021 — {"locked":true}
×

Success!

Help @klangwerk-media spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...