feat: facebook comments should be reversed

This commit is contained in:
Nevo David 2025-06-24 17:28:58 +07:00
parent b33b3c347a
commit 4d95bbe97d
1 changed files with 1 additions and 1 deletions

View File

@ -254,7 +254,7 @@ export class FacebookProvider extends SocialAbstract implements SocialProvider {
}
const postsArray = [];
for (const comment of comments) {
for (const comment of comments.reverse()) {
const data = await (
await this.fetch(
`https://graph.facebook.com/v20.0/${finalId}/comments?access_token=${accessToken}&fields=id,permalink_url`,