Show HN: FbFriends, a JS dialog for picking FB friends
icambron.github.com
icambron.github.com
[
{
id: anFbId,
name: "Some guy",
picture: "a url"
},
//other friends in the multi-selection case
]
If there's other kinds of information you'd want, I'd love some feedback on that.1. expose to you as the developer the ability to specify the list of attributes to request from FB (hardcoded right now).
2. just pass the object I get from FB straight to the callback instead of mucking with the object (makes some things, like the picture, a bit more complicated).
3. document how to set up the Facebook application to get the right permissions from the end-users.
That all seems reasonable, and I'll take a crack at it later today when I'm done with my 9-5.
However, you can't get the email addresses of friends. From https://developers.facebook.com/docs/reference/login/email-p...: "Note: There is no way for apps to obtain email addresses for a user's friends."
Or it could be a bug. I'll look into it.
But I suppose the most common use case would be inviting a list of friends to an application. I've seen a number of apps that have that, and as far as I know, they all roll their own dialog for doing that.