Grazie per la risposta, quindi da quello che ho capito è facebook che terra traccia delle condivisioni?
Quindi per condividere basta https://www.facebook.com/sharer.php?u=LINKDELLAPAGINA
poi segnare il numero di condivisione bisogna ricavare il dato da questo codice
proveniente dalla pagina https://api.facebook.com/method/links.getStats?urls= LINKDELLAPAGINA &page=ads.php&id=9#qui&format=json

Codice PHP:
<links_getStats_response xsi:schemaLocation="http://api.facebook.com/1.0/ http://api.facebook.com/1.0/facebook.xsd" list="true"><link_stat><url>http://127.0.0.1/index.php?lang=it</url><normalized_url>http://127.0.0.1/index.php?lang=it</normalized_url><share_count>0</share_count><like_count>0</like_count><comment_count>0</comment_count><total_count>0</total_count><click_count>0</click_count><comments_fbid xsi:nil="true"/><commentsbox_count>0</commentsbox_count></link_stat></links_getStats_response> 
Ho capito bene? Quindi la stessa cosa posso fare anche con altri social network?