Android facebook sdk 3.0 login by custom button
问题 Android facebook sdk 3.0 login by custom button. I dont want to use fragment . Just click a button then facebook login fetch the user name ,email,uid and the access token. If facebook login in a dialog box there is no problem. 回答1: 1- add facebook login activity in your AndroidManifest.xml <activity android:name="com.facebook.LoginActivity" android:screenOrientation="portrait"></activity> 2- on button click Intent i = new Intent(this,com.facebook.LoginActivity.class); startActivity(i); This