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)