I previously had the FBML application on Facebook and am now changing the IFrame application in FB using the graphical API. (under the same name, with the same game account. Just switch from FBML to iFrame).
I had a list of people with the extended resolution accepted for email. Since I am switching to IFrame, I can get their email ... by what the API said.
However, that is the problem.
1) When it was in FBML, I do not have email. By email only. (that I was limited)
2) I can get the user's email address when logging in and visit my application
3) However, I canโt get the userโs email when they donโt visit my application. Because some of them may not return, but I want to tell them about the update.
4) I tried to launch the application using the email address that I registered for the application (i.e. the developer account), but still I can not receive their emails.
It seems that the application can only get the current login user. I can not get their email, even I am an administrator.
Can I do this?
For example: If the user is 12345678 and logs into my application, I can start, this can get his email address:
$fql = "select email from user where uid=12345678";
Obviously, the user cannot start and receive information for user 23456.
eg $fql = "select email from user where uid=23456"; <--- Fail
So here is the problem. I have thousands of people who have previously signed up and accepted extended permission, how can I get their email now? I can't run this ...
$fql = "select email from user where uid=1000001"; $fql = "select email from user where uid=1000002"; $fql = "select email from user where uid=1000003"; // assum 1000001 ... 1000003 are those users.
I tried logging into facebook using my dev account and doing this, but it still won't work. Appreciate if anyone has a solution. thanks.