-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gravatar profile service #37
Comments
Hey @quietmint. That's a great idea. I'll try to sketch out a solution asap. Could you perhaps provide some input on how you'd like to use such a service, like from a controller or/and a directive? Example code would much appreciated. Thanks! |
For some reason, Gravatar JSON profiles are not CORS-enabled, so it's necessary to use JSONP. Something like this (as a factory) appears to work:
(example code only... it would make sense to perform some basic validation on My page has an input field for the user to type their e-mail address. My plan is to inject
|
Hi, I started to work on a first version of this feature. Please have a look and tell me what you think checkout the |
Can we include a factory/service that provides a function to returns a user's Gravatar profile? This is available from Gravatar as JSON, and you already include the md5 library necessary to generate such a request URL.
Example profile: https://en.gravatar.com/205e460b479e2e5b48aec07710c08d50.json
The text was updated successfully, but these errors were encountered: