Jeśli dodaje do złego działu proszę o przeniesienie do dobrego (btw. przydał by się dział dot. facebook'a)
Mam problem z określeniem co ma się pojawiać na facebooku jeśli ktoś polubi moją strone (zdjecie,opis, tutuł)
Wyczytałem że trzeba dodać odpowiedni tagi w sekcji head więc to zrobiłem:
Kod
<meta property="og:title" content="" />
<meta property="og:type" content="" />
<meta property="og:url" content="" />
<meta property="og:site_name" content="" />
<meta property="og:image" content="" />
<meta property="og:description" content="" />
<meta property="fb:app_id" content="" />
<meta property="fb:admins" content="" />
<meta property="og:type" content="" />
<meta property="og:url" content="" />
<meta property="og:site_name" content="" />
<meta property="og:image" content="" />
<meta property="og:description" content="" />
<meta property="fb:app_id" content="" />
<meta property="fb:admins" content="" />
Dodałem też do tagu html odpowiedni przestrzenie:
Kod
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:og="http://ogp.me/ns#" xmlns:fb="http://www.facebook.com/2008/fbml" xmlns:v="http://rdf.data-vocabulary.org/#" xml:lang="pl" lang="pl" dir="ltr">
Gdy dodaje link na swój fanpage nie pojawia się poprawny wpis.
Url linter na facebooku pokazuje:
Kod
Required Property Missing og:title is required
Required Property Missing og:type is required
Required Property Missing og:image is required
Required Property Missing og:url is required
Required Property Missing og:type is required
Required Property Missing og:image is required
Required Property Missing og:url is required
Czy coś robię nie tak ? Czy jakoś aplikację której numer podaję w app_id trzeba połączyć z fanpage'em ?