dsfds4551 2012-07-03 17:22
浏览 184
已采纳

Facebook分享不显示描述和图像

I have working with a project and i added a share button to product page, when i click on share it only showing the link of the site on fb share box no other infos showing my home page can share successfully

this is ok

http://smartbetty.com

i added some og tags but no luck

here is my issue url

http://smartbetty.com/index.php/frontend/campaigns/single/882/Fantastic-Deal-24-for-a-Stunning-Pair-of-Pearls-Meet-Silver-Drop-Earrings-Valued-at-150

and when i debug it on face book debugger it gives follow results

https://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fsmartbetty.com%2Findex.php%2Ffrontend%2Fcampaigns%2Fsingle%2F882%2FFantastic-Deal-24-for-a-Stunning-Pair-of-Pearls-Meet-Silver-Drop-Earrings-Valued-at-150

i play this with hours but no luck have any one know whats the wrong with this thank you

  • 写回答

1条回答 默认 最新

  • dousao2186 2012-07-03 17:30
    关注

    The debugger’s response is quite clear, isn’t it?

    URL requested a HTTP redirect, but it could not be followed.

    Your page sends a 302 redirect – to the same adress! And if that is followed, it’s the same redirect again … and again … and again.

    How do you expect any tool to extract data from a page that behaves like that …?

    Since it’s not doing that when requesting the page in a “real” browser, you’re obviously messing things up on the server side somehow – maybe trying to set a cookie, and then redirect to the same adress, expecting to have the cookie value to work with (which you don’t have with a tool like FB’s scraper that doesn’t accept or send cookies), or something like that …

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 pnpm 下载element-plus
  • ¥15 解决编写PyDracula时遇到的问题
  • ¥15 有没有人能解决下这个问题吗,本人不会编程
  • ¥15 plotBAPC画图出错
  • ¥30 关于#opencv#的问题:使用大疆无人机拍摄水稻田间图像,拼接成tif图片,用什么方法可以识别并框选出水稻作物行
  • ¥15 Python卡尔曼滤波融合
  • ¥20 iOS绕地区网络检测
  • ¥15 python验证码滑块图像识别
  • ¥15 根据背景及设计要求撰写设计报告
  • ¥20 能提供一下思路或者代码吗