private static string GetUserAccessToken(string appId, string scope = null) { if (!IsValidUserAccessToken(USER_TOKEN)) { FacebookLoginForm form = new FacebookLoginForm(appId, scope); form.ShowDialog(); USER_TOKEN = form.UserAccessToken; } return(USER_TOKEN); }
private static string GetUserAccessToken(string appId, string scope = null) { if (!IsValidUserAccessToken(USER_TOKEN)) { FacebookLoginForm form = new FacebookLoginForm(appId, scope); form.ShowDialog(); USER_TOKEN = form.UserAccessToken; } return USER_TOKEN; }