Skip to content

Instantly share code, notes, and snippets.

@mrsid96
Last active June 22, 2017 01:44
Show Gist options
  • Save mrsid96/9655e041e361d5ac6c277a00241d0c15 to your computer and use it in GitHub Desktop.
Save mrsid96/9655e041e361d5ac6c277a00241d0c15 to your computer and use it in GitHub Desktop.
Get the public photo of person by email
URL to Fetch : http://picasaweb.google.com/data/entry/api/user/<hereYourUserIdOrYourEmail>?alt=json
Php Code Snippet:
<?php
$json = file_get_contents('http://picasaweb.google.com/data/entry/api/user/dknayakbu@gmail.com?alt=json');
$result = json_decode($json);
print_r($result->{'entry'}->{'gphoto$thumbnail'}->{'$t'});
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment