Skip to content

Commit

Permalink
Sw 3634 updating statistics for a threads campaign (#312)
Browse files Browse the repository at this point in the history
Dear team,

This PR addresses issues related to the Threads stats, specifically the
total number of likes, views, and shares. The following changes have
been made:

Fixing Threads Stats: We have resolved issues with the calculation of
the total number of likes, views, and shares in Threads. The stats now
accurately reflect the user engagement metrics, providing an up-to-date
and reliable representation of the platform's performance.
By fixing the Threads stats, we ensure that users receive accurate and
meaningful information about the engagement levels on the platform.

Reviewers, please verify that the Threads stats have been successfully
fixed, and the total number of likes, views, and shares is calculated
accurately. Ensure that the displayed metrics align with the actual user
engagement data. Your feedback, suggestions, and alternative approaches
to further improve the Threads stats are highly appreciated.

Thank you for your attention to detail and your dedication to delivering
accurate and informative platform statistics.

Best regards,
Rania Morheg
  • Loading branch information
hichri-louay authored Aug 18, 2023
2 parents c82f477 + e9974fa commit 6c52bff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions controllers/campaign.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -2796,6 +2796,7 @@ module.exports.statLinkCampaign = async (req, res) => {
youtube: initStat(),
linkedin: initStat(),
tiktok: initStat(),
threads: initStat(),
};

const links = await CampaignLink.find({ id_campaign });
Expand Down
2 changes: 1 addition & 1 deletion web3/wallets.js
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ exports.getPrices = async () => {
url: process.env.CMC_URl,
params: {
start: '1',
limit: '200',
limit: '1200',
convert: 'USD',
},
headers: {
Expand Down

0 comments on commit 6c52bff

Please sign in to comment.