Configurations of Sina Weibo applications in. NET are extremely useful

Source: Internet
Author: User

Yes

Private iauthorizationcodebase _ authcodexl = UF. C (ctorat. Sina );
Private sinaerror _ errxl = NULL;
Private iapi apixl = UF. C (ctorapi. Sina );

VaR result = apixl. callget ("statuses/user_timeline.json? Since_id = "+ maxtimestamp, accesstoken, false );

The returned data can be JSON or dynamic.

I used the latter var resultt = result. statuses;
Foreach (VAR weiboitem in resultt)
{} The data will be traversed later...

 

If you want to debug the local machine during interface docking on Sina Weibo, you can configure

 

Deploy your project (in progress) to your local IIS or your local iisexpress, and then configure the domain name you entered in the Sina Weibo API

127.0.0.1 yun.sipedi.cn in c: \ windows \ system32 \ drivers \ etc \ hosts

Then add the debug append to the process in.

The final debugging is OK ....

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.