BricksMental / smirnybot9001

A twitch chatbot for displaying LEGO sets, minifigs and parts on an HTML overlay
GNU General Public License v3.0
0 stars 0 forks source link

Feature Request - Provide optional support for LEGO affiliate links (for sets) #8

Open user23498723452 opened 2 years ago

user23498723452 commented 2 years ago

Many streamers have lego affiliate links and if you offer the (optional) feature to display their affiliate links to sets (on lego.com) it may spur adoption of your bot. Many of them have set commands already that do this. Which would conflict with your bot, and they would likely not desire to replace their link with your bots.

Initially doing a static affliate URL (as below), to the main lego site is easiest. But after that, doing a link relevant for available sets looked up makes sense.

This is best done as a second link . Obviously it is only valid if the set is available for sale on LEGO's site. I think its a hardcoded string on the URL. You can ask or check some streamers for this info.

I believe this is the format for the site in general, but I think you can pass the CMP value as an option to any url. https://www.lego.com/en-us/?CMP=AFC-AffiliateUS-texthere-12345678-12345678-12345678