jake-walker / instagram-discord-bridge

💬 A bot that 'syncs' messages between Instagram and Discord.
GNU General Public License v3.0
8 stars 2 forks source link

Instagram posts with multiple images will be forwarded to Discord as unshortened links #11

Closed Moon-0xff closed 3 years ago

Moon-0xff commented 3 years ago

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.

Moon-0xff commented 3 years ago

made requested changes. Maybe short could be renamed. But i can't come up with a good name.

jake-walker commented 3 years ago

Great, thanks for the contribution 🙂