5 ms·
You'd probably need to make it work with medium dot com, as that has weird embed requirements for images? You may also want to provide an option that generates
by beckingz 5y ago
You'd probably need to make it work with medium dot com, as that has weird embed requirements for images?
You may also want to provide an option that generates a different meme/image if the api is called from the same page.
Example: https://www.williamangel.net/context.html https://www.williamangel.net/context.html
Would also fill this niche better if it could do tags like `random_meme?type=ironic` so that it could be used for this purpose, but at that point you'd probably be competing with giphy and a bunch of similar services.
- ilovefood 5y agoOh now I can answer. <img src="https://api.assetroulette.com/random_meme?hello=there https://api.assetroulette.com/random_meme?hello=there"> <img src="https://api.assetroulette.com/random_meme?general=kenobi https://api.assetroulette.com/random_meme?general=kenobi"> Should give two different images on the same page :) I think it's because of how the browser caches a request for the same url but I don't know exactly yet. :/ I will definitely implement the search part, that is a great idea! Thanks again.
- beckingz 5y agoThat helps! Though it is funny to have the same image in some cases. Fun tool.