开发者

facebook sharer.php is not showing image from URL

开发者 https://www.devze.com 2023-03-29 05:09 出处:网络
I m using http://tabbio.com/BarackObama URL to share on facebook http://www.facebook.c开发者_JAVA技巧om/sharer/sharer.php?u=http%3A%2F%2Ftabbio.com%2FBarackObama

I m using http://tabbio.com/BarackObama URL to share on facebook http://www.facebook.c开发者_JAVA技巧om/sharer/sharer.php?u=http%3A%2F%2Ftabbio.com%2FBarackObama

but this url is not showing me an image of barak obama in facebook sharer.php page

guide me that if anything missing

thanks in advance


You need to add meta tag og:image with url to image you want to show

 <meta property="og:image" content="http://url.to/image"/>

to head


nawaz,

to share url with specific details you have to use OpenGraph tags http://developers.facebook.com/docs/opengraph/

Then, for debugging, use Facebook url linter http://developers.facebook.com/tools/debug

Good luck!

0

精彩评论

暂无评论...
验证码 换一张
取 消