#D8CX: I pledge that Social Stats will have a stable release the day Drupal 8 is released.
This is a statistics module. It provides data from various social media sites. The data which is saved per node. It includes data from:
- Facebook : likes count, shares count, comments count & total count.
- Twitter : tweets count.
- LinkedIn : share count.
- Google Plus : plus one count, share count & total count
- Total Share Count : total across all available social networks
This module is intended to collect the statistics per node from the networks mentioned above.
It does not actually provide sharing widgets for the social networking sites. They have to added manually, or using other modules. List of the modules recommended to use alongwith Social Stats are:
- social_stats : This module is responsible to collect data from the social sites and store it in the database.
- social_stats_views : Views integration of the data collected by social_stats module.
- social_stats_panels : Panels integration of social_stats module.
- Download the module and place it with other contributed modules (e.g. sites/all/modules/).
- Enable the Social Stats module on the Modules list page. The database tables will be created automatically for you at this point.
- Modify permissions on the People >> Permissions page.
- Go to admin/config/social-stats/settings, set the date after which you want your data to be fetched. Select the social sites to be tracked per content type.
- Run cron. This will fetch the statistics per node and store it in database.
- Enable the Social Stats Views module and/or Social Stats Panels(can do it at step 2 itself).
The administrative interface is at: Administer >> Configuration >> Social Stats >> Social Stats settings.
Social Stats Views module will enable you to have the following additional features to views.
- Field : Add social statictics of node as field. Under "Add field", click on the category "Social Stats", and select the data.
- Filter : Filter the content on the stats. For example, you can have a filter like "only show nodes which have Facebook likes > 200".
- Sort : Sort the content on the basis of the stats, ascending or descending.
Social Stats Panels module will enable you to have the following additional
content types to panels panels.
- Total Shares : Facebook total + Twitter + LinkedIn + Google Plus.
This content types will be visible under "Social Stats" category under
"Add content" area on the node view by default. If you wish to add this
content types in mini panels you have to set the required context of node.
Drupal 8 version:
Meta issue for the port for D8 version :
Beta version of the module is released, with views integration.
The only issue remaining .
The development of this module is sponsored by QED42.
Special thanks to jcamposanok, for reviewing the module at its initial stage, and keeping me from giving up from developing it further.