4 ms·
what a great looking site (this and Chute too). but... maybe you could explain the value a little better to me? the avatar URLs for facebook and twitter are: h
by choxi 14y ago
what a great looking site (this and Chute too). but... maybe you could explain the value a little better to me? the avatar URLs for facebook and twitter are:
http://api.twitter.com/1/users/profile_image/:username.png?size=:size http://api.twitter.com/1/users/profile_image/:username.png?s...
http://graph.facebook.com/:username/picture?type=:type http://graph.facebook.com/:username/picture?type=:type
granted, your API has cleaner and more consistent routes,
http://avatars.io/twitter/:username http://avatars.io/twitter/:username
http://avatars.io/facebook/:username http://avatars.io/facebook/:username
But it's not a huge difference as far as I can tell.
As far as uploading avatars goes... I guess that can be a little more difficult but your process doesn't seem a whole lot simpler than just uploading to s3. I would definitely be more interested if you did on-the-fly image manipulation like cropping and centering around faces, maybe you could look into the Dragonfly gem if this is a Ruby app.
- gregarious 14y agoHi, Great questions. Let me answer them one by one. Avatar URLs - we are normalizing the way you access them regardless of the service. Also, we'll be keeping these up to date. For example, when an instagram profile photo changes, it will result in broken images unless you go update it. We're doing the queueing to make sure you don't have to. Uploading - the platform we've built actually does a great number of things on the upload side. We've limited it down to the resizing to the appropriate sizes. The ability to use custom identifiers for your avatars lets you build the route to them instead of having to store the full path which we think is a help when putting together dynamic apps. Enhancements - we're working on a number of the items you've mentioned as possible improvements down the line. Dragonfly is a great recommendation for this sort of stuff.