use of com.facebook.internal.SessionTracker in project phonegap-facebook-plugin by Wizcorp.
the class FacebookFragment method onActivityCreated.
@Override
public void onActivityCreated(Bundle savedInstanceState) {
super.onActivityCreated(savedInstanceState);
sessionTracker = new SessionTracker(getActivity(), new DefaultSessionStatusCallback());
}
use of com.facebook.internal.SessionTracker in project openkit-android by OpenKit.
the class LoginButton method finishInit.
private void finishInit() {
setOnClickListener(new LoginClickListener());
setButtonText();
if (!isInEditMode()) {
sessionTracker = new SessionTracker(getContext(), new LoginButtonCallback(), null, false);
fetchUserInfo();
}
}
Aggregations