简体   繁体   中英

Facebook Share Not Showing Description and Image

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

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 …

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM