Like Button og: image and og:title not being recognised

前端 未结 4 417
迷失自我
迷失自我 2021-01-16 14:34

When using the like button, the defined og:image and og:title do not show on facebook page.

Link to example .. It\'s the like button at bottom of the article and not

4条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-16 15:25

    The caching could be true. i had the problem with a page, renamed the page and all was ok for the new page. Now i tried loading this old page once again to check and it integrated the image just fine. So there IS caching and caching is temporary.

    But now I have the problem with a brand new page that shouldn't be cached yet. Very frustrating.

    Image is retrieved from MySQL blob field by asp script. the debugger shows the image and gives no error but the button on the page doesn't take the image.

    Page: http://www.ffkama.be/html/2_agenda_detail.asp?ps=id51

    Image URL: http://www.ffkama.be/root/imager_ag.asp?id=51

    Suggestion for FB devs, after a successful debug use on the page, purge cache or cache the debugged page

    UPDATE: I forgot the code in the HEAD TAG :( One thing is sure, without the 'prefix="og: h t tp://ogp.me/ns# fb: ht tp://ogp.me/ns/fb# website: h t tp://ogp.me/ns/website#"' in the HEAD Tag, the debugger doesn't give an arror and the image shows up in the dubugger but the image won't show up on your page. Then the page is cached and there are only 2 solutions: 1. rename the page 2. wait several days for the cache to expire

提交回复
热议问题