Skip to content

A basic harvester for Sina Weibo public post data as part of Social Feed Manager.

License

Notifications You must be signed in to change notification settings

gwu-libraries/sfm-weibo-harvester

Repository files navigation

sfm-weibo-harvester

A basic harvester for Sina Weibo public post data as part of Social Feed Manager.

Build Status

Provides harvesters for Sina Weibo API and harvesting is performed by weiboarc.

Development

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"

Harvest start messages

The necessary information to construct a harvest start message for the weibo harvester.

Search friend timeline harvest type

Type

  • weibo_timeline

API called

  • statuses/friends_timeline

Optional parameters

  • incremental: True (default) or False

Summary

  • count for weibos

Authentication

Required parameters:

  • access_token