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

Not able to fetch Email from Facebook #96

Open
vivekreddy opened this issue Aug 5, 2015 · 2 comments
Open

Not able to fetch Email from Facebook #96

vivekreddy opened this issue Aug 5, 2015 · 2 comments

Comments

@vivekreddy
Copy link

When I try to retreive Email from facebook SocialPerson it gives NULL. Id and Name are bieng fetched correctly. Please help.

@dmaltsev
Copy link

I faced same issue. ASNE implemented with Facebook Android SDK v3.0, so I implemented workaround in my app:

Bundle bundle = new Bundle();
bundle.putString("fields", "email");
     Request request = new Request(Session.getActiveSession(), "me", bundle, (HttpMethod) null, new      Request.Callback() {
          @Override
          public void onCompleted(Response response) {
               String rawResponse = response.getRawResponse();
               //Do whatever you want with json response
          }
});
request.executeAsync();

@vivekreddy
Copy link
Author

Thank you Denis Maltsev

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

2 participants