partial void loginClick(NSObject sender) { var newSession = new FBSession(); FBSession.ActiveSession = newSession; newSession.Open((session, status, error) => { if (status == FBSessionState.Open) { var accessToken = session.AccessTokenData.AccessToken; } }); }