facebook "share" functionality with Ajax and PHP

I have been trying to replicate the facebook “share” functionality , well actually i was in need of this functionality even before i knew that fb already had it…:slight_smile:

I learnt a few things that this can be achieved by using the “Curl” and I also hear that this setting may have been switched in some servers so if anyone can refer me to other options that would always fetch me the - Title- Description- Images for sure I’ d be thankful :smiley:

Regards

Hi Karth,

You can always have that Facebook “share” functionality with your code.

www.facebook.com/sharer.php?u=<?php echo URL; ?>

:wink:

Sponsor our Newsletter | Privacy Policy | Terms of Service