主权项 |
1. A method comprising:
by one or more processors of a machine, accessing stored data that specifies a time interval to be inserted between consecutive messages to be sent to a user, the consecutive messages to reference a purchasable product; by one or more processors of the machine, accessing social media servers that each provide a different social media service and that each provide a different application programming interface (API), the accessing including requesting and obtaining counts of communications that each referenced the purchasable product during a query time span, each of the counts of communications being obtained from a different social media server among the social media servers via its corresponding API; by one or more processors of the machine, accessing threshold values from a database, each threshold value among the threshold values corresponding to a different social media server among the social media servers and its corresponding API; by one or more processors of the machine, determining a subset of the counts of communications, each count in the subset transgressing a corresponding threshold value among the threshold values, the determining of the subset including comparing each of the counts to its corresponding threshold value; by one or more processors of the machine, calculating a popularity score of the purchasable product based on the subset of the counts of communications and comparing the calculated popularity score to a threshold popularity score; and by one or more processors of the machine, modifying the time interval to be inserted between the consecutive messages based on the calculated popularity score transgressing the threshold popularity score. |