This post is over a year old, some of this information may be out of date.
SharePoint 2013 got very social, everything can be tagged, followed, shared. But these new social features require some user adoption, and it could be that your client does not want to have this functionality.
This is exactly what a client of us requested, they did not want to have the Follow and Share actions on their site and document libraries.
Hiding the Site Social Actions
First of all, hiding the follow and share actions on your site is not that difficult. They can be hidden by some custom CSS.
Hiding Document Library Callout Actions
Hiding the callout actions in the document library is a bit more difficult, because the links do not have a specific ID or Class defined.
The trick is to override the default callout that is generated for the document libraries. This is also what SharePoint does, they are overriding the default callout to add the Follow action in the callout.
To override the default document library callouts and hide the Follow action, you can use the following code:
The registerOverrideToHideSocialActions function is for two lists (101 and 700). ID 101 is a standard Document Library, and ID 700 is the My Documents Library on you My Site (SkyDrive Pro).
For hiding the Share action I created a custom footer template function (CalloutOnPostRenderCustomTemplate). The code for this function looks like this:
_Note: Best is to add this code at the bottom of you master page. This can be either in a script block or in a script file itself (your choice, but a script file is always cleaner). _
The result looks like this:
You also have a Site Level Feature called Following Content to disable the Follow functionality. When you want to hide the Share action, you will still need to override the default callout.