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

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 oracle集群安装出bug
  • ¥15 关于#python#的问题:自动化测试
  • ¥20 问题请教!vue项目关于Nginx配置nonce安全策略的问题
  • ¥15 教务系统账号被盗号如何追溯设备
  • ¥20 delta降尺度方法,未来数据怎么降尺度
  • ¥15 c# 使用NPOI快速将datatable数据导入excel中指定sheet,要求快速高效
  • ¥15 再不同版本的系统上,TCP传输速度不一致
  • ¥15 高德地图点聚合中Marker的位置无法实时更新
  • ¥15 DIFY API Endpoint 问题。
  • ¥20 sub地址DHCP问题