A basic harvester for Sina Weibo public post data as part of Social Feed Manager.
Provides harvesters for Sina Weibo API and harvesting is performed by weiboarc.
For information on development and running tests, see the development documentation.
When running tests, provide Weibo credentials either as a test_config.py
file or environment variables (WEIBO_ACCESS_TOKEN
).
An example test_config.py
looks like:
WEIBO_ACCESS_TOKEN = "2.kQCxKsdpYiFYDc41039481c0fi"
The necessary information to construct a harvest start message for the weibo harvester.
Type
- weibo_timeline
API called
- statuses/friends_timeline
Optional parameters
- incremental: True (default) or False
Summary
- count for weibos
Required parameters:
- access_token