我開發了android應用程序在Facebook上分享。但是,如果登錄如果Facebook應用程序安裝,然後我的應用程序從Facebook應用程序的憑據登錄Facebook沒有Facebook應用程序的Sdk
如何在Facebook應用程序中使用Facebook SDK在我的應用程序中登錄Facebook。
登錄博客按鈕:
loginButton = (LoginButton) findViewById(R.id.login_button);
loginButton.setUserInfoChangedCallback(new LoginButton.UserInfoChangedCallback() {
@Override
public void onUserInfoFetched(GraphUser user) {
SendFacebook.this.user = user;
updateUI();
// It's possible that we were waiting for this.user to be populated in order to post a
// status update.
handlePendingAction();
}
});
確定,但我怎麼做? PLZ幫助我 – 2015-03-02 11:03:09