private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { if (o_fcbLoginDialog == null) o_fcbLoginDialog = new FacebookLoginDialog(this, ""); o_fcbLoginDialog.LogOut(); }
private void button1_Click_1(object sender, EventArgs e) { readAttributes(); o_fcbLoginDialog = new FacebookLoginDialog(this,createRequiredPermissionsString()); o_fcbLoginDialog.LogIn(); }
private void button1_Click_1(object sender, EventArgs e) { readAttributes(); o_fcbLoginDialog = new FacebookLoginDialog(this, UserAttributes.createRequiredPermissionsString( chkStatusUpdates.Checked, chkWallPosts.Checked, false)); o_fcbLoginDialog.LogIn(); }
ReloginMethod ( ) { FacebookLoginDialog o_fcbLoginDialog = new FacebookLoginDialog(new FacebookGraphDataProviderDialogBase(), UserAttributes.createRequiredPermissionsString(bGetStatusUpdates, bGetWallPosts,false)); o_fcbLoginDialog.LogIn(); fbAPI = new FacebookAPI(o_fcbLoginDialog.LocalAccessToken); }