I was interested in my seemingly varying ability to remember new people’s names. I thought that it would be interesting to try out various different techniques that claim to seemingly improve this skill.
Remember the Name
Facebook API
To find people’s random pictures we hit Facebook’s API with different ids:
deferred = $q.defer()
$http
.get("//graph.facebook.com/#{utils.randomer()}/?fields=picture,name")
.success (data) ->
deferred.resolve data
.error (data) ->
failure data
deferred.promise
We can then parse the result to determine whether or not they have a public profile picture:
success = (data) ->
if data.picture.data.is_silhouette
# try again...