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 …

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

报告相同问题?

悬赏问题

  • ¥20 西门子S7-Graph,S7-300,梯形图
  • ¥50 用易语言http 访问不了网页
  • ¥50 safari浏览器fetch提交数据后数据丢失问题
  • ¥15 matlab不知道怎么改,求解答!!
  • ¥15 永磁直线电机的电流环pi调不出来
  • ¥15 用stata实现聚类的代码
  • ¥15 请问paddlehub能支持移动端开发吗?在Android studio上该如何部署?
  • ¥20 docker里部署springboot项目,访问不到扬声器
  • ¥15 netty整合springboot之后自动重连失效
  • ¥15 悬赏!微信开发者工具报错,求帮改