Facebook & Twitter likes/shares as PHP variables
I have looked through various answers here, but am still unable to figure开发者_StackOverflow社区 it out.
Objective: to be able to have my php file output a simple line of text, such as "12 people have liked this website on Facebook and 16 people have twitted about it".
The numbers of course should come from facebook and twitter respectively.
How would I go about doing this?
Try these tutorials
Twitter edited
Facebook edited
and they're both done in PHP
精彩评论