Why does facebook not like this

user2432677

Hi when I debug in facebook devopers with the following code

<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:og="http://ogp.me/ns#"
xmlns:fb="http://www.facebook.com/2008/fbml">
<html>
<meta property="fb:app_id" content="lotsnumbers" />
<meta property="og:title" content="FOR SALE"/>
<meta property="og:type" content="product"/>
<meta property="og:url" content="www.website.com.au/php_test.php"/>
<meta property="og:image" content="image.gif"
<meta property="og:description" content="Stuff for sale" />

I get the following error

Object at URL 'http://www.website.com.au/php_test.php' of type 'website' is invalid because the given value 'www.website.com.au/php_test.php' for property 'og:url' could not be parsed as type 'url'.

Can someone please tell me why? Thanks in advance.

Kevin

You need to put a scheme (http:// or https://) on your og:url. Its seems that it is not parsed correctly when its missing:

<meta property="og:url" content="http://www.website.com.au/php_test.php" />

And fix this missing self closing:

<meta property="og:image" content="image.gif" />

이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.

침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제

에서 수정
0

몇 마디 만하겠습니다

0리뷰
로그인참여 후 검토

관련 기사

분류에서Dev

Facebook like/share button count consistently resets after a while, why?

분류에서Dev

Why does Handsontable display the headers like this?

분류에서Dev

Why Does `'ln -s /directory 'D:'` Work Like It Does?

분류에서Dev

Why does Facebook change the "FB.ui - picture" when the share is resharing on facebook itself?

분류에서Dev

Make a Facebook Like Box responsive

분류에서Dev

Why does the Dispose pattern in C# not work more like RAII in C++

분류에서Dev

Why FromBody Behave like this ?

분류에서Dev

Facebook Like Box - Posts by others not appearing

분류에서Dev

Preview image from URL - like Facebook

분류에서Dev

CSS for image like in facebook and other social media

분류에서Dev

Animation on top of uiviewcontroller like facebook app

분류에서Dev

Compress image like Whatsapp and Facebook using Android

분류에서Dev

Facebook & Twitter Like Buttons Slowing Page Load

분류에서Dev

Implement non blocking progress dialog like playstore and facebook

분류에서Dev

Like gate mechanism with Asp.Net MVC Facebook

분류에서Dev

different facebook like-urls (images) counting for http and https

분류에서Dev

Adding a Facebook like button to my markup using iframe document not working

분류에서Dev

Styling chrome scroll bar like facebook chat scroll bar?

분류에서Dev

Is there any common unique id or variable existing in Facebook and Twitter (like email)?

분류에서Dev

Facebook does not show thumbnail when a photo is shared

분류에서Dev

Which toolbox does facebook app use

분류에서Dev

Why create a link like this: ln -nsf?

분류에서Dev

why `arguments` is a Array-like in JS function?

분류에서Dev

Why does this program loop?

분류에서Dev

Why and how does this work?

분류에서Dev

Why does '/' have an '..' entry?

분류에서Dev

Why does ArrayList do this?

분류에서Dev

Why does synchronized(this) works?

분류에서Dev

YANG and Choice - what does the XML look like?

Related 관련 기사

  1. 1

    Facebook like/share button count consistently resets after a while, why?

  2. 2

    Why does Handsontable display the headers like this?

  3. 3

    Why Does `'ln -s /directory 'D:'` Work Like It Does?

  4. 4

    Why does Facebook change the "FB.ui - picture" when the share is resharing on facebook itself?

  5. 5

    Make a Facebook Like Box responsive

  6. 6

    Why does the Dispose pattern in C# not work more like RAII in C++

  7. 7

    Why FromBody Behave like this ?

  8. 8

    Facebook Like Box - Posts by others not appearing

  9. 9

    Preview image from URL - like Facebook

  10. 10

    CSS for image like in facebook and other social media

  11. 11

    Animation on top of uiviewcontroller like facebook app

  12. 12

    Compress image like Whatsapp and Facebook using Android

  13. 13

    Facebook & Twitter Like Buttons Slowing Page Load

  14. 14

    Implement non blocking progress dialog like playstore and facebook

  15. 15

    Like gate mechanism with Asp.Net MVC Facebook

  16. 16

    different facebook like-urls (images) counting for http and https

  17. 17

    Adding a Facebook like button to my markup using iframe document not working

  18. 18

    Styling chrome scroll bar like facebook chat scroll bar?

  19. 19

    Is there any common unique id or variable existing in Facebook and Twitter (like email)?

  20. 20

    Facebook does not show thumbnail when a photo is shared

  21. 21

    Which toolbox does facebook app use

  22. 22

    Why create a link like this: ln -nsf?

  23. 23

    why `arguments` is a Array-like in JS function?

  24. 24

    Why does this program loop?

  25. 25

    Why and how does this work?

  26. 26

    Why does '/' have an '..' entry?

  27. 27

    Why does ArrayList do this?

  28. 28

    Why does synchronized(this) works?

  29. 29

    YANG and Choice - what does the XML look like?

뜨겁다태그

보관