你如何分享一个有POST数据的链接?

I am building a website and I am going to add the possibility to share on Facebook, Twitter and Google +. How ever, in some of the sharing codes I have to pass the URL I want to share in a href, the Facebook one gets automatically the actual URL of the page.

My question is: this pages I'm sharing have post data, will the Facebook one work? And what can I do with the other ones that I have to do an href? Is this possible with pages that have post data? If not, what can I do?

Thank you.

You can't. Links can only include plain URLs and make GET requests.

That said, if you want to share a page on social media, it almost certainly isn't appropriate to be requiring a POST request to generate that page in the first place.