I made an application in android in which I set Facebook authentication on button click.
But when I click that button it comes back to my activity.
I know that problem is that : I can not log in to Facebook because I have already signed in with Facebook app in my device.
Then my question is how can I log in separately in my Android app and Facebook app?
finally I solved the problem using this:
Open Facebook.java provided by facebook sdk and then i had changes like this:
Finally i can able to login in both app in my device