Namespace: followers

followers

Source:

Methods

(static) create(options, done)

Follow a user

Parameters:
Name Type Description
options Object options
Properties
Name Type Description
user_id String The ID of the user you want to follow
done done Callback
Source:
See:

(static) destroy(options, done)

Un-follow a user

Parameters:
Name Type Description
options Object options
Properties
Name Type Description
user_id String The ID of the user you want to un-follow
done done Callback
Source:
See:

(static) index(options, done)

List all followers

Parameters:
Name Type Description
options Object options
Properties
Name Type Attributes Description
user_id String The ID of the user you want to fetch all followers from
type String Specify action. Valid values are 'followers' or 'followings'
params.older Number <optional>
Filter parameter: get only records older than the provided id
params.newer Number <optional>
Filter parameter: get only records newer than the provided id
params.per_page Number <optional>
Filter parameter: define the amount of records sent per call (max 50)
params.order String <optional>
Filter parameter: define the order you want to receive the records (does not
done done Callback
Source:
See: