Since Twitter only supports the oauth authentication method recently, major applications have switched to the oauth authentication method, and Sina Weibo's open platform will also suspend the base oauth authentication method recently.
In order to
Original address: http://www.moye.me/?p=592What is OAuth?OAuth (Open Licensing) is an open standard that allows a third-party app to access private resources (such as photos, videos, contact lists) that the user stores on a site without having to
Brief introduction
Twitter is now the leader in social networking. Twitter only allows users to post no more than 140 characters, and who would have guessed that the previously insignificant small web site is now worth more than 1 billion of
Douban API allows third-party applications to access user data through oauth. Therefore, oauth is the basis of our entire project.
Oauth authentication sounds mysterious, but it is actually quite simple.
Currently, most of the open platforms for
Directory
1.Collecting data
1.1 Register Your APP
1.2 Accessing the Data
1.3 Streaming
2.Text pre-processing
2.1 The Anatomy of a Tweet
2.2 How to tokenise a Tweet Text
3.Term Frequencies
I have always wanted to use crawlers to land and crawl Twitter data, tried scrapy,requests and other packages, are not successful, may be I am not familiar with the reasons, butA new package, Tweepy, was discovered today, dedicated to handling the
Twitter finally blocked basic auth. To avoid rejection of the token, a gtap 0.4 version was installed on Google appengine. It seems that twitterrifle is available, but Twitter's official client is not available yet.
Speaking of Twitter official,
ObjectiveToday's web App is basically a front-end separation, most of the previously contacted application scenario end products are deployed under the same site, then with the development of WEBAPI (Restful API) Implementation of the full
Since a website no longer provides the basicauth Method for logon from January 1, September 1, oauth is required, which makes it inconvenient for Chinese netizens. Because many third parties only support basicauth.
As a last resort, you can only
RESTful API Design Best PracticesSummary:The internet is now awash with articles about how restful APIs (for convenience, one meaning for future APIs and restful APIs) are designed, yet there is no "all-in-one" design standard: How do you do it?
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.