Skip to main content

Rank::Social::Signal - social signals parser: likes, comments, reposts

Rank::Social::Signal

Rank::Social::Signal parser overview

Rank::Social::SignalRank::Social::Signal is a social signals parser. It collects the number of likes on Pinterest and the number of reposts on vk.com.

A-Parser functionality allows you to save Rank::Social::Signal parser parsing settings for further use (presets), set up a parsing schedule, and much more.

Saving results is possible in the format and structure that you need, thanks to the built-in powerful Template Toolkit template engine, which allows you to apply additional logic to the results and output data in various formats, including JSON, SQL, and CSV.

List of collected data

Rank::Social::Signal example screenshot

  • The number of likes on the social service pinterest.com
  • The number of reposts on the social network vk.com

Capabilities

  • Counting the number of likes on pinterest.com
  • Counting the number of reposts on vk.com

Query examples

As queries, you need to specify a link to the article, for example:

https://a-parser.com/wiki/versions-and-licences/

As a result, the query and search results in social networks are displayed. For example:

https://a-parser.com/wiki/versions-and-licences/  
pinterest_like: 0
vk_share: 0

Result output options

A-Parser supports flexible result formatting thanks to the built-in Template Toolkit template engine, which allows it to output results in any form, as well as in a structured form, such as CSV or JSON.

Saving in SQL format

Result format:

[% "INSERT INTO social_signal VALUES('" _ query _ "', '" _ p1.pinterest_like _ "', '" _ p1.vk_share _ "')\n" %]

Example result:

INSERT INTO archive VALUES('https://a-parser.com/wiki/versions-and-licences/', 0, 0)

Dumping results in JSON

Result format:

[% data = {}; 
data.query = query;
data.pinterest_like = p1.pinterest_like;
data.vk_share = p1.vk_share; %]$data.json\n

Example result:

{"query":"https://a-parser.com/wiki/versions-and-licences/","pinterest_like":0,"vk_share":0}

Possible settings