コード例 #1
0
        private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            if (o_fcbLoginDialog == null)
                o_fcbLoginDialog = new FacebookLoginDialog(this, "");

            o_fcbLoginDialog.LogOut();

        }
コード例 #2
0
 private void button1_Click_1(object sender, EventArgs e)
 {            
     readAttributes();
     o_fcbLoginDialog = new FacebookLoginDialog(this,createRequiredPermissionsString());
     o_fcbLoginDialog.LogIn();
 
 }        
コード例 #3
0
 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();        
 }
コード例 #4
0
 ReloginMethod
 (            
 )
 {
     FacebookLoginDialog o_fcbLoginDialog = new FacebookLoginDialog(new FacebookGraphDataProviderDialogBase(), UserAttributes.createRequiredPermissionsString(bGetStatusUpdates, bGetWallPosts,false));
     o_fcbLoginDialog.LogIn();
     fbAPI = new FacebookAPI(o_fcbLoginDialog.LocalAccessToken);
 }