www . facebook.com/share/
www . developers.facebook.com/docs/
1a. se vuoi condividere propria pagina, basta inserire solo:
<a name="fb_share" type="button_count" href="[h t t p : / /] [w w w]facebook.com/sharer.php">Condividi</a><script src="[h t t p : / /] static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>
in questo caso, si prende in automatico URL di pagina visualizzata
2a. se vuoi essere piu sicuro e inserire bottone anche sulla pagina di categorie ecc. devi inserire questo:
<a name="fb_share" type="button_count" share_url="<?php the_permalink(); ?>" href="[h t t p : / /] [w w w].facebook.com/sharer.php">Condividi</a><script src="[h t t p : / /]static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>
dentro file SINGLE.PHP o dentro TAG
<?php while ( have_posts() ) : the_post(); ?> CODE <?php endwhile; // End the loop. Whew. ?>
se sei sulla pagina Categoria, Ricerca, Tag ecc.
3a.
[h t t p : / /] [w w w] .facebook.com/sharer.php?u=<?php the_permalink(); ?>&t=<?php the_title(); ?>
Ho inserito SPACE dentro, perche non mi fa inserire link attivi.
bisognia cambiare [w w w], [h t t p : / /]
Penso che si capisce tutto.
Saluti e buon lavoro