コード例 #1
0
        private void INIT()
        {
            try
            {
                Cursor.Current = Cursors.WaitCursor;

                fb             = new FacebookClient();
                fb.AppId       = FacebookManager.Instance.appID;
                fb.AppSecret   = FacebookManager.Instance.appSecret;
                fb.AccessToken = FacebookManager.Instance.PageToken;
                //fb.AccessToken = FacebookManager.Instance.UserToken;

                _postManager = new FacebookPostManager(fb);
                getAllPublishedPost(false, null);

                //_postManager.UploadVideoInChunk(@"C:\Users\Public\Videos\Sample Videos\Wildlife.wmv");

                Cursor.Current = Cursors.Default;
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
        }
コード例 #2
0
 public CreatePost(FacebookPostManager _postManager)
 {
     postManager = _postManager;
     InitializeComponent();
     rbStatus.Checked = true;
 }