Ritchie reports that after enabling the Affiliate plugin, Amazon links no longer onebox on their Discourse site. This issue persists even when posting links in the format https://www.amazon.co.uk/dp/B09FJSDNNK, which onebox fine on try.discourse.org or meta.discourse.org.
Steven mentions that Amazon may ban affiliate accounts for rehosting their images, which oneboxing does. pfaffman suggests that the plugin could add Amazon domains to the “sure” setting to prevent rehosting issues.
Ritchie confirms that no Amazon links are oneboxing after enabling the plugin, and asks if others have experienced the same issue. merefield notes that Amazon may not be fond of oneboxes in general, as they prefer officially branded affiliate links.
Possible Workarounds
Heliosurge suggests using a theme component to modify Amazon links, which would also add a legal disclaimer. This approach might be more effective than modifying the plugin. Additionally, pfaffman proposes rewriting the link into Amazon’s format using a theme component.
The plug-in itself works fine, as in, it does add the affiliate tag on the link correctly, I just find it’s at the expense of the onebox for Amazon UK no longer working.
Could someone else who’s running this plug-in see if you have the same Amazon onebox issue please?
I don’t think Amazon would be particularly fond of Oneboxes in general. I was previously warned by them to remove them. They prefer their officially branded affiliate links from their affiliate toolbar …
This Customization > Theme component modifies for amazon use would likely be better as it also adds the legal disclaimer on the link being modified.
Also demonstrates this no longer needs to be done at the plugin level. Iirc some have said this plugin at times has issues with browser or maybe advkickers