コード例 #1
0
        public void SetupFacebook()
        {
            FacebookSdk.SdkInitialize(this.ApplicationContext);
            callback = CallbackManagerFactory.Create();
            LoginManager.Instance.RegisterCallback(callback, this);

            mProfileTracker = new MyProfileTracker();
            mProfileTracker.mOnProfileChanged += mProfileTracker_mOnProfileChanged;
            mProfileTracker.StartTracking();
        }
コード例 #2
0
ファイル: MainActivity.cs プロジェクト: damian-grasso/taptap
		public void SetupFacebook() {
			FacebookSdk.SdkInitialize (this.ApplicationContext);
			callback = CallbackManagerFactory.Create ();
			LoginManager.Instance.RegisterCallback (callback, this);

			mProfileTracker = new MyProfileTracker ();
			mProfileTracker.mOnProfileChanged += mProfileTracker_mOnProfileChanged;
			mProfileTracker.StartTracking ();
		}