Skip to content

Instantly share code, notes, and snippets.

@kalvian1060
Created June 26, 2017 06:24
Show Gist options
  • Save kalvian1060/5293cda913a7459eeeda26fbdf749c04 to your computer and use it in GitHub Desktop.
Save kalvian1060/5293cda913a7459eeeda26fbdf749c04 to your computer and use it in GitHub Desktop.
Tambahkan pada bagian oncreate
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
FacebookSdk.sdkInitialize(getApplicationContext());
callbackManager=CallbackManager.Factory.create();
setContentView(R.layout.activity_main);
tvInfo=(TextView)findViewById(R.id.tvInfo);
btnLogin=(LoginButton)findViewById(R.id.btnLogin);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment