Answered: Why is the social share plugin not working ?

Post date: 2020-01-24 00:22:26
Views: 156
Facebook the shepherd keeps changing so developers (sheep) must follow them.

As I look at your buttons, some Facebook sharer parameters were depreciated. They no longer support them.

The simplest functional URL should be: https://www.facebook.com/sharer/sharer.php?u=https://www.ask-ans.com/123456789/i-want-it-that-way

To get the current URL using PHP is something like this: https://$_SERVERHTTP_HOST]$_SERVERREQUEST_URI]

There are also some other long and sophisticated ways by using Q2A functions, as you can see in http://docs.question2answer.org/code/functions/

Another solution is to use other non-Q2A social plugins. Go to any news site and you can grab one, for example addtoany.

https://stackoverflow.com/questions/20956229/has-facebook-sharer-php-changed-to-no-longer-accept-detailed-parameters
Please click Here to read the full story.
 
Other Top and Latest Questions:
China is still years behind the U.S. despite Huawei's breakthrough chips, Raimondo tells '60 Minutes'
Emirates CEO issues apology after Dubai flood chaos; says airline has 30,000 suitcases to return
Certified Addiction Counselor work experience conundrum
Charles Buhler reactionless drive math error?
Protein calories not adding up
How can i solve the problem?
Movie: Life Is Sweet
Buckle up. These stocks could see big moves in reaction to earnings this week
Stocks making the biggest moves midday: Tesla, Verizon, Paramount, Coinbase and more
Crypto prices gain to start the week following first Bitcoin halving since 2020