Skip to content
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

facebook connect does not fetch EMAIL after login #141

Open
vaishali123 opened this issue Jul 1, 2013 · 2 comments
Open

facebook connect does not fetch EMAIL after login #141

vaishali123 opened this issue Jul 1, 2013 · 2 comments

Comments

@vaishali123
Copy link

I used echo $this->Facebook->login(); to login into Facebook.I created the application Ynomy in my fb account.Then I clicked on LogIn Button of facebook in my website, then give the permission to access Basic information of User.I need the email of User which I login for eg ABC account.But when I print print_r($this->Connect->user()); then it does not fetch EMAIL of ABC User.Please guide me whats the issue?

@Gerifield
Copy link

Add array('perms' => 'email') inside the login function, like this:

echo $this->Facebook->login(array('perms' => 'email'));

@aymone
Copy link

aymone commented Apr 17, 2015

not working here, same conf 'perms' => 'email'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@Gerifield @vaishali123 @aymone and others