views:

36

answers:

1

I'm sure it has already been asked. It's just that every couple of months, facebook changes their APIs and the question becomes new...

What is the current way?

(I got the user to accept the extended permission thingy).

The FB help, claims I have to use getInfo().contact_email which doesn't exist in the .net toolkit.

+2  A: 

"email" is the field you want, as listed here. It contains the user's proxied e-mail address (@facebook.com) or their genuine address, or is blank if they haven't given your application permission to mail them.

I haven't looked at the .Net toolkit for quite some time, but if that field isn't present then the workaround that doesn't involve delving into it and recompiling would be to do an fql query on the user table.

Karl B
I see. Maybe I need to wait for a new version of the toolkit because it doesn't exist. I also don't know how to do an FQL query for the e-mail in .net. Do you have an example?
Faruz