Here's my FB.ui code:
FB.ui({
method: 'feed',
message: '',
link: 'http://mywebaddress/pathToContent',
picture: 'http://mywebaddress/pathToPhoto/photo.jpg',
display: 'popup'
});
The dialog pops up perfectly, it has the link so no problem... but the picture doesn't show.
I have verified the picture URL is correct. Then I have used the Debugger to test the content URL's open graph tags: it runs flawlessly.
Apparently, the debugger clears some sort of caching. After I use the debugger on the link, the FB.ui
dialog shows the picture just fine.
Is there something I can do about this? The content that users are sharing from my site to Facebook isn't showing the picture like it should, making it a bit annoying for them to use (which is never a good thing!)
Thanks!
You need to change the og:image
in the source of the shared url instead. The picture
parameter is deprecated: https://developers.facebook.com/docs/sharing/reference/feed-dialog/#response
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With