Added instagram-id-to-url-segment as dependency. I don't have previous node.js experience so i'm not sure if other files need to be changed.
From what i gathered from the unfriendly api documentation and github issues page. This seems to be the way of getting a link of a post, dependency included.
It feels unsafe to click on shortened links. So i left them at full length.
When i started testing, Discord made a preview box of public Instagram posts, images included. It was perfect!
Sadly now it doesn't seem to work. Don't really know why. Perhaps you want to test if it works for you?
Anyway, let me know if my code needs some tweaking.
Added instagram-id-to-url-segment as dependency. I don't have previous node.js experience so i'm not sure if other files need to be changed.
From what i gathered from the unfriendly api documentation and github issues page. This seems to be the way of getting a link of a post, dependency included.
It feels unsafe to click on shortened links. So i left them at full length.
When i started testing, Discord made a preview box of public Instagram posts, images included. It was perfect! Sadly now it doesn't seem to work. Don't really know why. Perhaps you want to test if it works for you?
Anyway, let me know if my code needs some tweaking.