I'm using Google's favicon retrieval url which works well unless using subdomains.
This works: https://www.google.com/s2/favicons?domain=facebook.com
This doesn't https://www.google.com/s2/favicons?domain=fortawesome.github.io
Thoughts?
That domain doesn't have a favicon at its root.
Since the s2 service does not support lookups for specific paths, there is nothing you can do.
(also note that this URL is not a public API, and there are no guarantees that it will continue to exist)