I get

    {{profile.name}} : {{services.github.email}}

for my Meteor app using GitHub API, but I can't find the profile photo property with Meteor.user() command. It seems like GitHub has its photo from Gravatar. How do I get the profile photo like I did for username and email address {{profile.name}} : {{services.github.email}}

My app is similar to this

http://www.smashingmagazine.com/2013/06/13/build-app-45-minutes-meteor/

有帮助吗?

解决方案

You can use gravatar as well, based on the email address. It's pretty easy – see the documentation.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top