Although the Sina Weibo open platform provides a variety of language versions of the development SDK download, but also each attached to some basic interface calls Demo and interface documentation. But after a few days of patient experimentation, it
This article mainly introduces django's method of accessing Sina Weibo OAuth, and analyzes django's access skills for Sina Weibo OAuth interface, for more information about how django connects to Sina Weibo OAuth, see the example in this article.
A friend needs to use the Sina Weibo interface in his project a few days ago. Therefore, he and his friend studied the information provided on the Sina Weibo open platform, first, you need to use these interfaces to log on and authorize users. The
This example describes the way Django accesses Sina Weibo oauth. Share to everyone for your reference. The specific analysis is as follows:
The recent integration of the Web site and Sina Weibo, the idea is very simple, is to link the content of
Scribe here refers to the oauth library, the Project address: https://github.com/fernandezpablo85/scribe-java, not the Facebook one (https://github.com/facebook/scribe ).
Oauth1.0a \ oauth2.0 is supported. I personally feel very good.
The usage is
To use the Sina Weibo open platform API, you should first get the app key and app Secret that Sina allocates, and the following is the app key and app Secret that Sina assigns after I created the app (this is confidential.)
Then download the
This article describes how to build a Sina Weibo client. The following describes the source code of weibosina circulating on the Internet: http://download.csdn.net/detail/ryzhanglu/3453875.
1. Project Overview
The project file list is as
For the heart of a young man who needs to enjoy everything, it does not take a price to get happiness.
1, "Sina Weibo error code encyclopedia"
304 Not Modified: No rarity was returned.
Bad Request: The request data is illegal, or crosses the plea
1, "Sina Weibo error code encyclopedia"
304 Not Modified: No data returned.
Bad Request: The requested data is illegal or exceeds the request frequency limit. The detailed error code is as follows:
o 40028: Internal interface Error (if there is a
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.