Hello,
whats the best practise to merge alle the outputs from two/multiple in to a hook?
I guess some JSON stuff?
Here are for example the two outputs:
[
{
"from": {
"id": "7164476546xxxx",
"username": "tylxxxxx"
},
"media": {
"id": "18017491xxxxxx",
"media_product_type": "REELS"
},
"id": "1786341xxxxx",
"text": "Cool gemacht",
"field": "comments"
}
]
[
{
"caption": "🤳🚁 Hey Leute, xxxxxxt",
"comments_count": 1,
"id": "18017491xxxxx",
"ig_id": "3136488848xxxxxx",
"is_comment_enabled": true,
"like_count": 8,
"media_type": "VIDEO",
"media_product_type": "REELS",
"media_url": "https://scontent-lhr6-1.cdninstagram.com/o1/v/t16/f1/m82/61419B92A1F2E82B5FBFABD85179018F_video_dashinit.xxxxxxx",
"owner": {
"id": "17841459xxxxxx"
},
"permalink": "https://www.instagram.com/reel/Cuxxxxx",
"shortcode": "CuHC_1aLp6c",
"thumbnail_url": "https://scontent-lhr6-2.cdninstagram.com/v/t51.36329-15/356797750_3011850358949120_33xxxxxxxxxE",
"timestamp": "2023-06-30T09:50:00.000Z",
"username": "warsxxxx"
}
]