Beispiel #1
0
        private void barButtonItemFacebook_ItemClick(object sender, ItemClickEventArgs e)
        {
            FacebookAuthentication fa = new FacebookAuthentication();

            fa.Type = "wall";
            fa.Show();
            fa.LoadAuthorize();
        }
Beispiel #2
0
 private void barButtonItemFacebookPage_ItemClick(object sender, ItemClickEventArgs e)
 {
     if (Settings.Default.FacebookPageID.Equals("-1"))
     {
         MessageBox.Show("You need to specify facebook page id first!");
     }
     else
     {
         FacebookAuthentication fa = new FacebookAuthentication();
         fa.Type = "page";
         fa.Show();
         fa.LoadAuthorize();
     }
 }
 private void barButtonItemFacebook_ItemClick(object sender, ItemClickEventArgs e)
 {
     FacebookAuthentication fa = new FacebookAuthentication();
     fa.Type = "wall";
     fa.Show();
     fa.LoadAuthorize();
 }
 private void barButtonItemFacebookPage_ItemClick(object sender, ItemClickEventArgs e)
 {
     if (Settings.Default.FacebookPageID.Equals("-1"))
     {
         MessageBox.Show("You need to specify facebook page id first!");
     }
     else
     {
         FacebookAuthentication fa = new FacebookAuthentication();
         fa.Type = "page";
         fa.Show();
         fa.LoadAuthorize();
     }
 }