dougu3290 2011-03-08 02:51
浏览 72
已采纳

将自定义图像添加到Facebook功能

This may seem like a duplicate question or it is easily answered here yet I remain utterly befuddled by how easy of a feature this is to implement and how much trouble I am having adding my image and finding a solution that works. I have been scouring to no avail. The two links provided above show the only two options I have found which are:

<meta property="og:image" content="http://www.example.com/styles/images/fb_cl_logo.png"/>

and

<link rel="canonical" href="http://www.example.com/Blogs_fb_build.php?id=<?php echo $blog; ?>"/>

Needless to say this is not working whatsoever!

Thanks in advance.

  • 写回答

2条回答 默认 最新

  • dongtiao1817 2012-06-17 15:33
    关注

    Here are two probable reasons:

    1. The url to the image is invalid or the URL is inaccessible by Facebooks crawler.
    2. Facebook have cached the thumbnail for your page.

    If Facebook have cached the results your page, use the Facebook Debugger and enter the URL to your page, it will usually break the cache (can be good to add cache break querystring if it misbehaves).

    If it isnt a cache problem you will see what information the crawler sees about your page which probably is going to solve your problem.

    Another things worth mentioning is that breaking the cache in the debugger doesnt always reflect to the "normal Facebook posting" instantly.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 BP神经网络控制倒立摆
  • ¥20 要这个数学建模编程的代码 并且能完整允许出来结果 完整的过程和数据的结果
  • ¥15 html5+css和javascript有人可以帮吗?图片要怎么插入代码里面啊
  • ¥30 Unity接入微信SDK 无法开启摄像头
  • ¥20 有偿 写代码 要用特定的软件anaconda 里的jvpyter 用python3写
  • ¥20 cad图纸,chx-3六轴码垛机器人
  • ¥15 移动摄像头专网需要解vlan
  • ¥20 access多表提取相同字段数据并合并
  • ¥20 基于MSP430f5529的MPU6050驱动,求出欧拉角
  • ¥20 Java-Oj-桌布的计算