Scraping Sina Weibo with OAuth2.0

56 views
Skip to first unread message

chengjun wang

unread,
Feb 3, 2013, 1:55:18 AM2/3/13
to computational...@googlegroups.com


Step 0. Automatically get authorization by oauth2.0

First, following this webpage to set your app, especially to get the app key, app secret, and set the callback url.  http://blog.laisky.us/2012/01/278/

            or this one http://my.csdn.net/michael_gmr/code/detail/13607 (doesn’t work any more) 

Second, following this link, you can automatically get the code from the callback url. http://www.how2dns.com/blog/?p=538

Step 1. Assume that you have had a list of mids, you want to get the number of repsots. Thus, you can have the distribution of the size of diffusion.

Step 2. If you want to step further and get the list of diffusers for a list of weibos. Thus, you will know how many reposts or retweets have been deleted by the website.

Step 3. Now, you may want to get the social graph for all the diffusers.

关于作者 Cheng-Jun Wang


Best regards.                         
                                       
Chengjun Wang

Web Mining Lab
Department of Media and Communication
City University of Hong Kong.
Room 5008, 18 Tat Hong AvenueRun Run Shaw Creative Media Centre
Kowloon. Hong Kong


Reply all
Reply to author
Forward
0 new messages