This project is read-only.
2

Resolved

System.TypeLoadException

description

[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: A type load exception has occurred.
我是使用Monodevelop 开发iOS程序 使用您的 SDK 2.0 3.5 4 的DLL都试过 都提示 不行

btnLogin.TouchUpInside+= (object sender, EventArgs e) => {
            var oauth = new NetDimension.Weibo.OAuth("key", "scret", "https://api.weibo.com/oauth2/default.html");
            //相对于标准授权,模拟授权的方式就要简洁得多。
            bool result = oauth.ClientLogin(txtUsername.Text,txtPassword.Text);
            if (result) //返回true授权成功
            {
                Console.WriteLine(oauth.AccessToken); //还是来打印下AccessToken看看与前面方式获取的是不是一样的

                var Sina = new NetDimension.Weibo.Client(oauth);
                string uid = Sina.API.Account.GetUID ();
                Console.WriteLine(uid); //打印获得的UID


            }

comments

Xuanchenlin wrote Oct 18, 2012 at 5:49 AM

https://github.com/beginor/NetDimension.Weibo

有类似情况的朋友请到以上地址下载Mono版的SDK



** Closed by Xuanchenlin 2012/10/17 21:48

Xuanchenlin wrote Oct 18, 2012 at 5:49 AM

123
how to change the status to fixed? I fogot that..

wrote Oct 18, 2012 at 5:49 AM

wrote Feb 22, 2013 at 12:36 AM

wrote May 16, 2013 at 12:30 PM

wrote May 16, 2013 at 12:30 PM

wrote Jun 14, 2013 at 8:30 AM