Class: SocialFilterBuilder

SocialFilterBuilder()

Social Filter Builder

Constructor

new SocialFilterBuilder()

Source:

Methods

build() → {Filter}

Source:
Returns:
Type
Filter

facebook(f) → {this}

Return posts filtered by the number of Facebook likes. Return posts with more than 10 Facebook likes: social.facebook.likes:>10 social.facebook.shares Return posts filtered by the number of Facebook shares. Return posts with more than 10 Facebook shares: social.facebook.shares:>10 social.facebook.comments Return posts filtered by the number of Facebook comments. Return posts with more than 10 Facebook comments: social.facebook.comments:>10
Parameters:
Name Type Description
f Object
Source:
Returns:
Type
this

gplus(shares, comparator) → {this}

Return posts filtered by the number of Google Plus shares. Return posts with more than 10 Google Plus shares: social.gplus.shares:>10
Parameters:
Name Type Description
shares Number
comparator String
Source:
Returns:
Type
this

linkedin(shares, comparator) → {this}

Return posts filtered by the number of Linkedin shares. Return posts with more than 10 Linkedin shares: social.linkedin.shares:>10
Parameters:
Name Type Description
shares Number
comparator String
Source:
Returns:
Type
this

performance_score(score, comparator) → {this}

A virality score for news and blogs posts only. The score ranges between 0-10, where 0 means that the post didn't do well at all, i.e rarely or was never shared, to 10 which means that the post was on fire, shared thousands of times on Facebook. Search for news or blog posts with performance score higher than 8 (highly viral): apple performance_score:>8
Parameters:
Name Type Description
score Number
comparator String
Source:
Returns:
Type
this

pinterest(shares, comparator) → {this}

Return posts filtered by the number of Pinterest shares. Return posts with more than 10 Pinterest shares: social.pinterest.shares:>10
Parameters:
Name Type Description
shares Number
comparator String
Source:
Returns:
Type
this

stumbledupon(shares, comparator) → {this}

Return posts filtered by the number of Stumbledupon shares. Return posts with more than 10 Stumbledupon shares: social.stumbledupon.shares:>10
Parameters:
Name Type Description
shares Number
comparator String
Source:
Returns:
Type
this

vk(shares, comparator) → {this}

Return posts filtered by the number of VK shares. Return posts with more than 10 VK shares: social.vk.shares:>10
Parameters:
Name Type Description
shares Number
comparator String
Source:
Returns:
Type
this