Your question is not very detailed, and it is not easy for you to understand what exactly you are asking.
Since the sharey function was deprecated, I assume you are talking about the Like button . As you can see on this page, you can put what you always need in the "URL" field, then click the "Get Code" button and use this code on your page.
, , : "example.com/#anchor", "http://example.com" .
, "example.com/#anchor", - , "example.com", .