Projects-Weibo (imitating Sina Weibo)

Source: Internet
Author: User
First, Sina Weibo

Now microblogging is also a way of communication, but also more like a news client, its own according to the interface provided by the microblog to carry out the corresponding operation. A tribute to Weibo by imitating Sina Weibo

Second, apply for the developer

  

Apply to be a developer on this site and create your own app

Get Key and Secret

  

and set the authorization to return the page, all need to fill in, note: Authorization to return the page in the program must be the same as this, or there will be errors

Third, the whole framework of micro-BO project

Build in the framework of MVC

  

Create a PCH file, define the fixed variables that can be used, and today define the size of the screen, the version number, and the Sinaweiboobject

Iv. the framework of the microblogging guide

1. The previous version of the SDK, using the MRC environment, so when the import will have a corresponding problem, because in the current version, there is no MRC, the system has the appropriate method to manage the memory

2. In the directory of build phases, locate the file for the imported SDK and modify it so that it does not use the arc

3. The statement of the non-practical arc is {-FNO-OBJC-ARC}

V. Initialize the Weibo SDK

Initialize the SDK, because it is used only once, so the method is written in Appdelegate,

The first day of the relevant code Https://yunpan.cn/c6muAYS3SXiAB (extract code: 970C)

Projects-Weibo (imitating Sina Weibo)

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.