prettySocial icon indicating copy to clipboard operation
prettySocial copied to clipboard

Facebook do not geting the description

Open dantewebmaster opened this issue 10 years ago • 2 comments

On the data-description of the FB share link, on the site is all ok, on the source code I see theres is the correct description, but when click on share, the FB popup shows the description of my site (WP).

dantewebmaster avatar Nov 29 '14 05:11 dantewebmaster

Same issue for me. All other social networks do just fine. Facebook grabs data form meta tags instead of the data fields. Refreshing the Facebook cache does not help. Nobody out there with a fix for this?

Garavani avatar Dec 03 '16 16:12 Garavani

I found this (check second answer): http://stackoverflow.com/questions/20956229/has-facebook-sharer-php-changed-to-no-longer-accept-detailed-parameters I changed my prettySocial.js for Facebook so:

facebook: { url: 'https://www.facebook.com/sharer/sharer.php?u={{url}}&picture={{media}}&title={{title}}&description={{description}}', // NEW /FORMER: https://www.facebook.com/sharer/sharer.php?s=100&p[title]={{title}}&p[summary]={{description}}&p[url]={{url}}&p[images][0]={{media}}'/

                popup: {
                    width: 626,
                    height: 436
                }
            },

Works. Hope this helps someone.

Garavani avatar Dec 03 '16 16:12 Garavani