I display a Gravatar Avatar on my webpages comments
like
$hash = md5(trim($row['email'])); $default_usr = urlencode('http://localhost/example/images/user-icon.jpg'); src=\"http://www.gravatar.com/avatar/$hash.'.jpg?s=45&d=$default_usr'\"
but I want it to be like an avatar, when someone posted a comment on my site using the email address that belong to his facebook or twitter account, his image is also displayed on my comments on the site.
But I dont know how?
Any Facebook lover or Twitter lover who can help me. Please, please. I do not want to use the facebook application. I am developing my own comment widget using php where I want to use it.
user1008545
source share