Facebook Login in Facebook App

Facebook Login in Facebook App, I'm producing a login from Facebook in my app. My app is a list of item costs, and I desire my user can get in with your email/password to place in my WebService and return rates to your e-mail.

Facebook Login in Facebook App

The issue is when I click LoginButton it's open a LoginActivity of Facebook to log in, and I desire to open an AlertDialog with EditText email/password to user type the info and after I will do log in on facebook and if login facebook is all ideal I get the email/password enter EditText and make send out to my WebService.

Checking out the paperwork of Facebook API I see this

The Facebook SDK for Android offers approaches to executing Facebook Login for your app. The SDK supplies Facebook Login assistance for these normal circumstances: Your app utilizes just Facebook Login to license individuals using your app. Your app offers 2 login choices: Facebook Login and your very own login system.

Your app uses your very own login at first, and Facebook Login is an option to turn on particular social functions. In cases (1) and (3), the Facebook SDK offers a UserSettingsFragment class that can be hosted by your login activity to show the Facebook login/logout button. In case (2), the Facebook SDK supplies a LoginButton class that provides a button you can drop into your UI. The LoginButton class preserves the session state and is utilized to log individuals in and out.
Look at more info:
There's any method to do it?

Like this.
Facebook Login in Facebook App

It seems like you wish to pass info you gather from the dialog box into the Facebook login box. As far as I understand this isn't possible. The Facebook SDK can discover if Facebook is set up on the phone and confirm that method, or it will pop up a dialog box for the user to log in. I'm quite sure the factor for this relates to security issues.

Advertisement